Distance calculation

 Posts: 32
 Joined: Thu May 10, 2018 12:19 am
 Location: Karaikal
Distance calculation
Is there any possibility to calculate the distance of an object which was placed before the OpenMV CAM M7 in all the three X,Y,Z directions ?
Re: Distance calculation
I got it working in 2d , so I think that you probably can do it in 3d. I first calibrated the area(took measurment of the area at known distances x,y,z) and then used the angle between the camera and the object to calculate x,y,z.
Re: Distance calculation
If you use the AprilTags then you get the full 6 DOF pose of a tag  i.e. x/y/z translation and x/y/z orientation.
Otherwise, you need to measure things by hand and work out the geometry. The camera is not a distance sensor, but, you can calculate the distance an object must be from the camera given it's size.
Otherwise, you need to measure things by hand and work out the geometry. The camera is not a distance sensor, but, you can calculate the distance an object must be from the camera given it's size.
Nyamekye,
Return to “Technical Discussion”
Who is online
Users browsing this forum: No registered users and 5 guests