c++ Programming Glossary: prevx
Error in opencv code for motion detection http://stackoverflow.com/questions/14309111/error-in-opencv-code-for-motion-detection 29.97 cvSize 720 576 Capture the movie frame by frame. int prevX 0 int numPeople 0 Buffer to save the number of people when converting.. current X position is greater than the previous... if avgX prevX Increase the number of people. numPeople Reset the closest object.. current X position is less than the previous... if avgX prevX Increase the number of people. numPeople Reset the closest object..
|