Skip to content

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.

License

quanglv1996/filter-color-hsv

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Changing Colorspaces with UI

Description

The program provides a UI that makes it easy for users to use OpenCV2's Changing ColorSpace feature 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

Main function interface image

Changing Colorspace UI Original

Changing Colorspace UI Mask

Installation

Clone repository

git clone https://gitlab.com/quanglvhust/changing-colorspaces-ui
cd changing-colorspaces-ui

Install environment

pip install -r requirements.txt

Run program

python main.py

Usage

Use the program to track the red object

Example

image red obejct

Program

Original image

Mask with values HSV Lower(0, 25, 48) - Upper(180, 255, 255)

Mask

Support

Any contributions please create issues. I will help as soon as possible

About

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.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages