Files
displayarray/examples/effects/crop.py

8 lines
259 B
Python

from displayarray.effects import crop
from displayarray import display
from examples.videos import test_video
# Move the mouse to move where the crop is from on the original image
display(test_video).add_callback(crop.Crop().enable_mouse_control()).block()