title: People Counting System
body: <p>I want to develop a "People Counting System" using OpenCV (or Emgu CV).</p>
  
  <p>Please guide me on how to implement or lead me to some examples or open source projects.</p>
  
  <p>(I have done some work: extracting diff then threshold to delete background, using motion history and like that; still no good results.)</p>
  
  <p>Edit 1: I am counting a high people flow (a dozen of them may come through simultaneously).</p>
  
  <p>Edit 2: It must be at least 80% accurate. People are walking through a door that is almost 5 meters wide. The problem is I have no control on the position or angle of the camera. Camera is shouting the place from a 10m distance at a 2.5m height. </p>
  
  <p>Thank you</p>