Ask Your Question
0

Determine position in space from distortion of image

asked 2018-01-26 18:33:22 -0500

ChrisGravel gravatar image

Using a webcam, I will be capturing frames of an object of known size. The object is rectangular in shape. I would like to be able to determine my position in space relative to the object.

The object which I will be looking at has key features that I know how to identify to get the 4 corners of the rectangle. The points will be distorted based on my location and I'd like to be able to figure out where I am relative to the object from doing some sort of transformation.

How do I go about doing this? It is for a robotics project running on a Raspberry Pi so performance is somewhat important and I don't need pinpoint accuracy.

edit retag flag offensive close merge delete

1 answer

Sort by ยป oldest newest most voted
0

answered 2018-01-27 22:27:22 -0500

Tetragramm gravatar image

Welcome to OpenCV! The tutorial you want is called Real Time pose estimation of a textured object. There all all kinds of useful tutorials, examples, and documentation at that site. Give them a read, try some out, and if you still don't understand you'll be able to ask much better questions.

edit flag offensive delete link more

Comments

This is excellent! Thank you!

ChrisGravel gravatar imageChrisGravel ( 2018-01-28 09:50:45 -0500 )edit
Login/Signup to Answer

Question Tools

2 followers

Stats

Asked: 2018-01-26 18:33:22 -0500

Seen: 132 times

Last updated: Jan 27 '18