Ask Your Question

WG-'s profile - activity

2019-10-04 01:56:43 -0600 received badge  Notable Question (source)
2017-09-04 11:10:54 -0600 received badge  Popular Question (source)
2013-09-26 14:02:37 -0600 received badge  Editor (source)
2013-09-26 14:01:35 -0600 asked a question Arrow detection what is the best approach?

I need to detect a arrow shape e.g.

image description

(the arrow will most likely have a different colour probably red)

This will be in a live environment i.e. the arrow will be printed on a piece of A4 paper and hung up in a corridor. The camera which needs to detect the image will most likely be a bit shaky so there will be some deformation of the image I presume, also lighting might be an issue. Further the arrow only needs to be detected from the front e.g. not from the side where it will be deformed.

I am now wondering now what my best approach might be to correctly detect the arrow and as such its direction, left or right.

Might for example this approach be a good start? http://stackoverflow.com/questions/15277323/opencv-shape-detection. Detect all the contours and then find all the heptagon's (7 vertices) in the result and then invent my own algorithm to check if one of the found heptagon represents a arrow? Or http://stackoverflow.com/questions/11424002/how-to-detect-simple-geometric-shapes-using-opencv using a approximates of polygonal curves?

Or might there be a approach/function where I give a image or shape of the arrow to the algorithm and then searches for similar objects/shapes in the image retrieved from the webcam.

2013-09-26 13:45:10 -0600 received badge  Supporter (source)
2013-09-26 13:45:04 -0600 received badge  Critic (source)