OpenCV中sobel检测后如何检测物体
在opencv中进行sobel检测后是否有办法检测汽车(物体)?
这是我当前的工作,如下图所示:
高级感谢您提供任何指导或解决方案!
Is there anyway to detect a car (object) after a sobel detction in opencv?
This is my current's work as shown as the image below:
Advanced thanks for any guidelines or solutions!
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
物体检测任务需要相当多的努力。
首先,从要检测的对象中提取相关特征:定向梯度直方图应该适合汽车检测。因此,您需要获取汽车图像数据库。其次,您需要使用机器学习算法来学习模型。 Boosting 或支持向量机应该可以完成这项工作。你会在 opencv 中找到实现。
Object detection task need quite a bit of effort.
First, extract relevant features from object you want to detect: histogram of oriented gradient should be fine for car detection. So, you need to get database of car images. Second, you need to learn models using machine learning algorithm. Boosting or support vector machine should do the work. You will find the implementation in opencv.