Intelligent Object Detection in Video Using Python and OpenCV