OpenCV multiply objects in/out counting

為{幸葍}努か 提交于 2019-12-11 06:44:44

问题


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

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!