如何从顶视图使用opencv识别斑马线? [英] how to recognise a zebra crossing from top view using opencv?

查看:1341
本文介绍了如何从顶视图使用opencv识别斑马线?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

您可以从此PDF文档获取有关问题的所有详细信息:www.shaastra.org/2013/media/events/70/Tab/422/Modern_Warfare_ps_v1.pdf

you can get all the details about the problem from this pdf document: www.shaastra.org/2013/media/events/70/Tab/422/Modern_Warfare_ps_v1.pdf

如何使用opencv从顶视图识别斑马线?
它不是一个直的斑马线它有一些曲折和转动
i有一些想法,
1.平行线检测,但可用的技术只能找到直线平行不是那些有曲线在里面。
2.模板匹配匹配背靠背白色和黑色条纹的模板,但它变得乏味,因为我没有找到任何模式匹配技术与缩放和旋转。

how to recognize a zebra crossing from top view using opencv ?? it is not a straight zebra crossing it has some twists and turns i have some ideas, 1. parallel line detection but the available techniques only works to find straight parallel not the ones that has curve in it. 2. template matching to match a template of back to back white and black stripes but it becomes tedious since i cant find any pattern matching techniques with scaling and rotation.

其实一个想法对任何单个部分的问题将是如此有帮助!
它是驱动我疯狂的人请帮助!!!!
任何帮助赞赏
感谢提前....

in fact a idea on any single part of the problem will be so helpful!! it is driving me crazy someone please help!!!! any help is appreciated thanks in advance ....

注意:
斑马线我说的是线条垂直于边界线,就像一个正常的斑马线。只是区别在于路径有像河流一样的曲线。

NOTE: the zebra crossing i am talking about has the inside lines perpendicular to the border lines, just like a normal zebra crossing. only difference is that the path has curves like a river

推荐答案

我会看看 Haar-like功能作为低级描述符。它非常常用于面部检测,但是它是一种具有广泛应用的技术。

I'd have a look at Haar-like features as a low level descriptor. It is very commonly used in face detection but is a technique with wide applications.

一些非常常见的功能对行敏感;垂直,水平或对角线。这些应该非常适合检测斑马人行横道。

Some of the very common features are sensitive to lines; vertical, horizontal, or diagonal. These should be well suited to detecting zebra crosswalks. Also, depending on your implementation, these feature sets can be scale insensitive which would make your algorithm more robust.

大量具有这种对比度的平行线(白色(或白色)黄色)漆对路面)应该让你在你的方式认识斑马线。我不确定你的意思是什么扭曲,因为斑马线,设计,应该是直的。

A large number of parallel lines with such contrast (white (or yellow) paint vs pavement) should get you on your way to recognizing zebra crossings. I'm not sure exactly what you mean by 'twists and turns' as zebra crossings, by design, are supposed to be straight. If you provide an image or two of your edge cases, perhaps we can brainstorm with you.

编辑:
我也同意这一点强烈与@ Algebra的评论。使用霍夫变换,你可以得到线的边缘。定期间隔的多条平行线应该是斑马线的强烈指示。

I also agree strongly with @Algebra's comment. Using a Hough transform, you could get the edges of the lines. A number of parallel lines at regular intervals should be a strong indication of a zebra crossing.

对于您探索的任何方法,您都需要使用机器学习技术对于模式识别,做出最终决定什么是斑马线看起来像。你不想硬编码的东西,如'x平行线的y宽度和z长度'。

For whichever approach(es) you explore, you will want to use machine learning techniques for pattern recognition to make the final decision on what a zebra crossing looks like. You do not want to hard code things like 'x parallel lines of y width and z length'.

这篇关于如何从顶视图使用opencv识别斑马线?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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