Ask Your Question
0

finding 3D coordinates

asked 2016-03-04 15:36:48 -0600

mauso gravatar image

hello all, i am rather new to opencv, but doing quite ok in python ... - now i'm faced to determining 3d coordinates of an object inside a defined coordinate system.

C:\fakepath\opencvquestion.png

my main question is: do i need 3 cameras to do that (please see image attachment) or could i work with a depth aware camera like the kinect.

other than that, could anyone maybe point me to some tutorial, resource, etc .... with a similar task.

thanks in advance!

edit retag flag offensive close merge delete

1 answer

Sort by ยป oldest newest most voted
0

answered 2016-03-04 19:14:40 -0600

Tetragramm gravatar image

You need at least two cameras (more is better), or a depth camera such as a Kinect.

I'm actually in the process of putting together a module that does just this, based on THIS PAPER. It will take as inputs the camera rvec and tvec, as well as the camera matrix and distortion parameters.

However you do it, you'll need to know where the camera(s) are in relation to your coordinate system. Also, how to match points between cameras, which is not an easy problem.

Using a depth camera is probably easier, but I've never really used one, so I can't help.

edit flag offensive delete link more

Question Tools

1 follower

Stats

Asked: 2016-03-04 15:36:48 -0600

Seen: 822 times

Last updated: Mar 04 '16