Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- roi = img[y:y+height, x:x+width]
- cv2.imwrite("image.png", roi)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement