How can I detect and track people using OpenCV?
I have a camera that will be stationary, pointed at an indoors area. People will walk past the camera, within about 5 meters of it. Using OpenCV , I want to detect individuals walking past - my ideal return is an array of detected individuals, with bounding rectangles. I've looked at several of the built-in samples: None of the Python samples really apply The C blob tracking sample looks promising, but doesn't accept live video, which makes testing difficult. It's also the most complicated of the samples, making extracting the relevant knowledge and converting it to the Python API problematic.