[英]How to find the distance and the rotation from camera to object/marker using OpenCV?
I have done some 6D Pose estimation, and have the Oriented Bounding Box (OBB) of the detected object.我已经完成了一些 6D 姿势估计,并具有检测到的 object 的定向边界框 (OBB)。 So, now I would like to know the ground truth and get the error of the estimated orientation and the position.
所以,现在我想知道基本事实并得到估计方向和 position 的误差。 The detected object is a rectangular box as shown in the image.
如图所示,检测到的 object 是一个矩形框。
How can I know the distance and the rotation of a marker (black box over the red one) to the camera?我如何知道标记(红框上方的黑框)到相机的距离和旋转? The red box in the image is the object and the black one is the estimated 6DPose.
图像中的红色框是 object,黑色的是估计的 6DPose。
So would like to do image postprocessing to get the error of the position and the orientation.所以想做图像后处理得到position的误差和方向。 So, how can get the error from this image, knowing the real dimensions of the box, camera parameters, and the distance from the camera to the object?
那么,在知道盒子的真实尺寸、摄像头参数以及摄像头到 object 的距离的情况下,如何从该图像中得到误差? So the triangulation formula can give me the distance but then how to get the orientation?
所以三角测量公式可以给我距离但是如何获得方向?
Would be OpenCV to look after?会照顾 OpenCV 吗? Any help?
有什么帮助吗?
Thanks谢谢
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.