Bounding box not showing?
I am writing code to be able to detect moving objects in a video. I have blurred the video, computed the difference between the first and current frame, found contours and computed the bounding box. In theory, my code should draw the bounding box over the moving objects, but nothing is showing up. There is no error message either, so I can't see what it is that it incorrect.
Any help is appreciated!
which opencv version is it, exactly ?
and, shouldn't cv2.rectangle be inside the for loop ? (indentation problem)
Yes, I think that was an error from copying the code over, its the same indentation as the line above in my code. cv2 version is 3.1.0