mirror of
https://github.com/opencv/opencv.git
synced 2025-07-24 05:39:22 +08:00
Merge pull request #10389 from wxzs5:yangli
This commit is contained in:
commit
09c84a0164
@ -70,7 +70,7 @@ for fname in glob.glob('left*.jpg'):
|
||||
corners2 = cv.cornerSubPix(gray,corners,(11,11),(-1,-1),criteria)
|
||||
|
||||
# Find the rotation and translation vectors.
|
||||
ret,rvecs, tvecs, inliers = cv.solvePnP(objp, corners2, mtx, dist)
|
||||
ret,rvecs, tvecs = cv.solvePnP(objp, corners2, mtx, dist)
|
||||
|
||||
# project 3D points to image plane
|
||||
imgpts, jac = cv.projectPoints(axis, rvecs, tvecs, mtx, dist)
|
||||
|
Loading…
Reference in New Issue
Block a user