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

php - SPIP: From Tag directly to an article -

jquery - isAjaxRequest always return false -