Skip to content

Latest commit

 

History

History
37 lines (25 loc) · 1.11 KB

README.md

File metadata and controls

37 lines (25 loc) · 1.11 KB

roiSelector-opencv-python

roiSelector-opencv-python is a Python script for selecting and segmentin ROI's in images and saves in a JSON File. Currently working for only 1 segment per image.

Download

git clone https://github.com/Acuno41/roiSelector-opencv-python.git

Installation

Use the pip to install requirements.

pip3 install -r requirements.txt

Usage

python roiSelector.py --path images --ext jpg
print('[INFO] This is a ROI selector script for multiple images')
print('[INFO] Click the left button: select the point, right click: delete the last selected point')
print('[INFO] Press ‘S’ to determine the selection area and save it')
print('[INFO] Press ‘D’ to delete the selection area')
print('[INFO] Press ESC to quit')

Alt text

Contributing

Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.

Please make sure to update tests as appropriate.