问题
I've wrote a opencv code for multiply moving objects detection and tracking with background substraction. Now i need to count objects who went in or out. I can get coordinates of all objects who are in camera/screen. Camera is set above object http://prntscr.com/25wgg6 . Is there any good algorythm to count in/out multi objects, or get the direction of objects?
回答1:
there is an example do that in samples\c\motempl.c
来源:https://stackoverflow.com/questions/20143577/opencv-multiply-objects-in-out-counting