Answers for "opencv crop python"

0

how to cut image python

im = Image.open('0.png').convert('L')
im = im.crop((1, 1, 98, 33))
im.save('_0.png')
Posted by: Guest on July-29-2020
-1

how to crop the image using opencv

crop_img = img[y:y+h, x:x+w]
Posted by: Guest on March-06-2021

Python Answers by Framework

Browse Popular Code Answers by Language