projects
/
platform
/
upstream
/
opencv.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1bc1f3d
)
Remove redundant return variable
author
wxzs5
<790230517@qq.com>
Fri, 22 Dec 2017 09:13:57 +0000
(17:13 +0800)
committer
wxzs5
<790230517@qq.com>
Fri, 22 Dec 2017 09:13:57 +0000
(17:13 +0800)
doc/py_tutorials/py_calib3d/py_pose/py_pose.markdown
patch
|
blob
|
history
diff --git
a/doc/py_tutorials/py_calib3d/py_pose/py_pose.markdown
b/doc/py_tutorials/py_calib3d/py_pose/py_pose.markdown
index
1fcad94
..
a1a612d
100644
(file)
--- a/
doc/py_tutorials/py_calib3d/py_pose/py_pose.markdown
+++ b/
doc/py_tutorials/py_calib3d/py_pose/py_pose.markdown
@@
-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)