如何确定汽车在图像中的位置? [英] How to determine the position of a car inside an image?
问题描述
可以分析图像并确定汽车在其中的位置吗?
如果是这样,你会如何处理这个问题?
Is it possible to analyse an image and determine the position of a car inside it? If so, how would you approach this problem?
我使用相对较小的数据集(50-100)类似于以下示例:
I'm working with a relatively small data-set (50-100) and most images will look similar to the following examples:
我最感兴趣的只是检测垂直坐标,而不是汽车的实际形状。例如,这是我要突出显示为我的最终输出的区域:
I'm mostly interested in only detecting vertical coordinates, not the actual shape of the car. For example, this is the area I want to highlight as my final output:
推荐答案
您可以尝试有一个对象检测API的OpenCV。
You could try OpenCV which has an object detection API. But you would need to "train" it...by supplying it with a large set of images that contained "cars".
- http://docs.opencv.org/modules/objdetect/doc/objdetect.html
- http://robocv.blogspot.co.uk/2012/02/real-time-object-detection-in-opencv.html
- http://blog.davidjbarnes.com/2010/04/opencv-haartraining-object-detection.html
查看上面的第二个链接,它显示了一个检测和创建
Look at the 2nd link above and it shows an example of detecting and creating a bounding box around the object....you could use that as a basis for what you want to do.
- http://www.behance.net/gallery/Vehicle-Detection-Tracking-and-Counting/4057777
各种文件:
- http://cbcl.mit.edu/publications/ theses / thesis-masters-leung.pdf
- http://cseweb.ucsd.edu/classes/wi08/cse190-a/reports/scheung.pdf
- http://cbcl.mit.edu/publications/theses/thesis-masters-leung.pdf
- http://cseweb.ucsd.edu/classes/wi08/cse190-a/reports/scheung.pdf
各种图像数据库:
- http://cogcomp.cs.illinois.edu/Data/Car/
- http://homepages.inf.ed.ac.uk/rbf/CVonline/Imagedbase.htm < a>
- http://cbcl.mit。 edu / software-datasets / CarData.html
- http://cogcomp.cs.illinois.edu/Data/Car/
- http://homepages.inf.ed.ac.uk/rbf/CVonline/Imagedbase.htm
- http://cbcl.mit.edu/software-datasets/CarData.html
这篇关于如何确定汽车在图像中的位置?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!