title: How can I detect and track people using OpenCV?
body: <p>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 <strong>OpenCV</strong>, I want to detect individuals walking past - my ideal return is an array of detected individuals, with bounding rectangles.</p>
  
  <p>I've looked at several of the built-in samples:</p>
  
  <ul>
  <li>None of the <strong>Python</strong> samples really apply</li>
  <li>The <strong>C</strong> 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.</li>
  <li>The <strong>C</strong> 'motempl' sample also looks promising, in that it calculates a silhouette from subsequent video frames. Presumably I could then use that to find strongly connected components and extract individual blobs and their bounding boxes - but I'm still left trying to figure out a way to identify blobs found in subsequent frames as the same blob.</li>
  </ul>
  
  <p>Is anyone able to provide guidance or samples for doing this - preferably in <strong>Python</strong>?</p>