1
0
mirror of https://github.com/opencv/opencv.git synced 2026-07-31 08:13:04 +04:00

py_tutorials: add print() braces for python3

This commit is contained in:
berak
2017-05-28 11:07:15 +02:00
parent 17b89b2a35
commit 0f51155e79
18 changed files with 41 additions and 41 deletions
@@ -218,7 +218,7 @@ for i in xrange(len(objpoints)):
error = cv2.norm(imgpoints[i], imgpoints2, cv2.NORM_L2)/len(imgpoints2)
mean_error += error
print "total error: ", mean_error/len(objpoints)
print( "total error: {}".format(mean_error/len(objpoints)) )
@endcode
Additional Resources
--------------------