Skip to content

Commit b19cd93

Browse files
author
wxzs5
committed
Remove redundant return variable
1 parent 1bc1f3d commit b19cd93

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

doc/py_tutorials/py_calib3d/py_pose/py_pose.markdown

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,7 @@ for fname in glob.glob('left*.jpg'):
7070
corners2 = cv.cornerSubPix(gray,corners,(11,11),(-1,-1),criteria)
7171

7272
# Find the rotation and translation vectors.
73-
ret,rvecs, tvecs, inliers = cv.solvePnP(objp, corners2, mtx, dist)
73+
ret,rvecs, tvecs = cv.solvePnP(objp, corners2, mtx, dist)
7474

7575
# project 3D points to image plane
7676
imgpts, jac = cv.projectPoints(axis, rvecs, tvecs, mtx, dist)

0 commit comments

Comments
 (0)