-
This project is a simple script written in Python using OpenCV to help in the task of finding optimal HSV ranges in the color segmentation process
-
It currently features:
- A HSV window that simply shows the webcam image in the HSV colorspace
- Individual windows showing Hue, Saturation and Value images
- A window featuring trackbars in order to adjust the segmentation parameters
- A window that shows the mask applied with the selected aparameters
- If the HSV window is clicked, the program prints out the HSV values for that pixel
-
This project depends on:
- OpenCV
- Numpy
-
To-do:
- A window that shows a colored square with the color of the selecte pixel, as well as its values
cebms / segmentation_tool Goto Github PK
View Code? Open in Web Editor NEWA color segmentation tool to find HSV ranges to reach a desired mask in OpenCV