how to scale an image on python-opencv? -
when tried scale photo in python gives me error:
indentationerror: unindent not match outer indentation level
my code:
cv.setimageroi(image, (pt1[0], pt1[1],pt2[0]-pt1[0], int((pt2[1] - pt1[1]) * 0.6)))
the problem indentation in python.
in python code must aligned when in same scope.
Comments
Post a Comment