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

Popular posts from this blog

Android layout hidden on keyboard show -

google app engine - 403 Forbidden POST - Flask WTForms -

c - Why would PK11_GenerateRandom() return an error -8023? -