opencv-solvepnp

Object Pose solvePnP

Object Pose solvePnP Question: Unable to get object Pose and draw axis with 4 markers I am trying to get the object pose by following This tutorial for Pose Estimation. In the video the author uses chessboard pattern(24,17) and mentions in the comment that any object with markers(detectable) can be used to estimate the pose. …

Total answers: 1

solvePnP throws error: (-215:Assertion failed) src.size == dst.size && src.channels() == dst.channels() in function 'cvConvertScale'

solvePnP throws error: (-215:Assertion failed) src.size == dst.size && src.channels() == dst.channels() in function 'cvConvertScale' Question: I have 4 world coordinate points of a box and their image points . I’m trying to calculate the pose of the camera but I’m getting an error File c:Usersnmorsi200AppDataLocalTempProg6_4.py", line 292, in <module> cv.solvePnP(objectPoints,imagePoints,cameraMatrix,distCoeffs) cv2.error: OpenCV(4.5.5) D:aopencv-pythonopencv-pythonopencvmodulescoresrcconvert_c.cpp:113: error: …

Total answers: 1