OpenCV乘法对象的输入/输出计数 [英] OpenCV multiply objects in/out counting

查看:193
本文介绍了OpenCV乘法对象的输入/输出计数的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我写了一个opencv代码,用于使用背景减法乘法移动对象检测和跟踪。现在我需要计数进入或退出的对象。我可以得到坐在相机/屏幕上的所有对象的坐标。相机设置在对象 http://prntscr.com/25wgg6 上方。是否有任何好的算法来计数/输出多个对象,或者获取对象的方向?

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?

推荐答案

在samples \c\motempl.c

there is an example do that in samples\c\motempl.c

这篇关于OpenCV乘法对象的输入/输出计数的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆