-
Notifications
You must be signed in to change notification settings - Fork 399
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Support cropping / region of interest #302
Comments
Looking forward this feature 🙏 |
+1 will be amazing have this feature! I need too... |
Can anyone share if they require a GUI for this purpose, or is command line acceptable? cc @ankandrew @cdgraff I'm thinking the regions can be a set of polygon masks similar to how DVR-Scan handles this. Similarily, if we need a GUI, I may repurpose the region editor from DVR-Scan for this purpose, since that has most of the required functionality. This also means we can support non-rectangular masks. Regardless we should ship something soon and leave the GUI for later. |
Processing only a sub-set of a video frame should be possible. This can greatly improve performance and detection accuracy in some cases.
To avoid any issues with cropping or output, both
save-images
andsplit-video
should still output the full video. Cropping of the output can be considered in the future, but should be avoided if possible and done by post-processing the output of PySceneDetect. The same applies to non-rectangular ROIs or overlapping regions.This was originally brought up in #147. This is also a feature in PyVfxShotDetect [1], so we can consider implementing something similar by creating a wrapper for
VideoStream
.[1] https://github.com/ThomasWeckenmann/PyVfxShotDetect/blob/master/scenedetect/bbox_video_stream.py
The text was updated successfully, but these errors were encountered: