Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/quanglv1996/filter-color-hsv
The source code uses OpenCV to convert the RGB color channel to HSV, suitable for color filtering problems. The easy-to-use interface makes it easy to find suitable thresholds for different problems.
https://github.com/quanglv1996/filter-color-hsv
change-color image-processing opencv opencv2 python python3
Last synced: about 1 month ago
JSON representation
The source code uses OpenCV to convert the RGB color channel to HSV, suitable for color filtering problems. The easy-to-use interface makes it easy to find suitable thresholds for different problems.
- Host: GitHub
- URL: https://github.com/quanglv1996/filter-color-hsv
- Owner: quanglv1996
- License: agpl-3.0
- Created: 2022-08-10T07:20:15.000Z (over 2 years ago)
- Default Branch: main
- Last Pushed: 2024-07-16T08:14:35.000Z (6 months ago)
- Last Synced: 2024-07-16T10:41:47.097Z (6 months ago)
- Topics: change-color, image-processing, opencv, opencv2, python, python3
- Language: Python
- Homepage:
- Size: 1.55 MB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Changing Colorspaces with UI
## Description
The program provides a UI that makes it easy for users to use [OpenCV2's Changing ColorSpace feature](https://docs.opencv.org/4.x/df/d9d/tutorial_py_colorspaces.html) for object tracking. Help users find a rich color space with an intuitive interface. The program can be used with webcams, videos and images.## Visuals
### Image of the interface at the beginning of the program![Main UI](media/main.PNG "Main UI")
### Main function interface image
![Changing Colorspace UI Original](media/changing_colorspace.PNG)
![Changing Colorspace UI Mask](media/changing_mask.PNG)
## Installation
Clone repository
```bash
git clone https://gitlab.com/quanglvhust/changing-colorspaces-ui
cd changing-colorspaces-ui
```Install environment
```pip
pip install -r requirements.txt
```Run program
```python
python main.py
```## Usage
Use the program to track the red objectExample
![image red obejct](media/red_object.jpg)
Program
![Original image](media/red.PNG)
Mask with values HSV Lower(0, 25, 48) - Upper(180, 255, 255)
![Mask](media/mask_red.PNG)
## Support
Any contributions please create issues. I will help as soon as possible