Skip to content

Select a Region of Interest (ROI) from an image and then crop and save the image using OpenCV

License

Notifications You must be signed in to change notification settings

whoisraibolt/Region-of-Interest

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Region of Interest

GitHub language count GitHub top language Libraries.io dependency status for GitHub repo GitHub repo size GitHub

Not the best way to apply ROI, but this one is simple and works 😄

Overview

This project can help you crop images from a region of interest marked manually.

Original image:

Original

Cropped image:

Cropped

Dependencies

  • cv2
  • glob

You can install missing dependencies with pip.

Usage

  1. Install the dependencies;
  2. Open terminal and run .py files.

Other information

  • ROI-Single-Image - Apply to a single image;
  • ROI-Multi-Images - Apply to all images in a given directory.

License

Code released under the MIT license.

About

Select a Region of Interest (ROI) from an image and then crop and save the image using OpenCV

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages