Ask Your Question

retrieve location and orientation of objects

asked 2012-11-07 09:58:08 -0500

Hodali gravatar image

updated 2012-11-12 05:47:52 -0500

I would like to use OpenCV to detect smd components in a pick and place machine. Is it possible to detect objects and retrieve the location (x,y) and orientation (angle) by using OpenCV ?

edit retag flag offensive close merge delete



Have you done some research? Have you tried anything?

Rui Marques gravatar imageRui Marques ( 2012-11-08 05:13:28 -0500 )edit

1 answer

Sort by ยป oldest newest most voted

answered 2012-11-07 21:29:50 -0500

you can use segmentation algorithm such as hough transform or harrisCorner to find rectangular object. then you can find orientation of obejct by cvMinAreaRect2 or cvFitEllipse2.

edit flag offensive delete link more


Does anyone have an example?

Hodali gravatar imageHodali ( 2012-11-08 04:06:11 -0500 )edit
Login/Signup to Answer

Question Tools


Asked: 2012-11-07 09:58:08 -0500

Seen: 978 times

Last updated: Nov 12 '12