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:
@@ -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
|
||||
--------------------
|
||||
|
||||
Reference in New Issue
Block a user