How to Crop Image in OpenCv python | Crop photo

preview_player
Показать описание
In This video you will learn How to Crop Image using Opencv Python , here I'm showing you the basic code of Slicing the Pixels value to get the desire Area from an image.

HERE IS THE CODE :
import cv2

# height, width
crop_img = img[120:483+10 , 187-50 :667]

Рекомендации по теме