Commit b19cd937 authored by wxzs5's avatar wxzs5

Remove redundant return variable

parent 1bc1f3d3
......@@ -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)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment