python - Detecting triangles using hough transforms -


how go detecting triangle (of known shape) in image. environment uncluttered , free of other objects. here example enter image description here

i have looked hough transforms, used houghlines detect lines , simple python logic trying make triangles out of them. resulted in loot of noise, , impossible find correct triangle.

how go this?

have tried using contrast? if image above representative example, contrast white black , green gives distinctive feature recognised. make sure threshold image before applying edge detection.

you try mapping lines found contrast triangle of specific size wanted (i notice mentioned mapping triangles, no mention of using size). note size constraint affected distance of camera object.

also, if have full control on object detection (as looks using detect of own making), add other shapes within triangle, or more contrast layers. full circles shape use (as noise won't have complete loop)


Comments

Popular posts from this blog

ruby on rails - RuntimeError: Circular dependency detected while autoloading constant - ActiveAdmin.register Role -

c++ - OpenMP unpredictable overhead -

javascript - Wordpress slider, not displayed 100% width -