Not the best way to apply ROI, but this one is simple and works 😄
This project can help you crop images from a region of interest marked manually.
Original image:
Cropped image:
- cv2
- glob
You can install missing dependencies with pip.
- Install the dependencies;
- Open terminal and run .py files.
- ROI-Single-Image - Apply to a single image;
- ROI-Multi-Images - Apply to all images in a given directory.
Code released under the MIT license.