Some videos have frames that have black strips like borders. I have to remove them from the frames. I came up with a crude solution:
import sys, cv2, numpy i
Why not calculate the frame and use PIL
from PIL import Image img = Image.open('myImage.jpeg') box = (50, 50, 100, 100) area = img.crop(box)