A module for creating HSV color sliders using OpenCV
Project description
HSV Slider
HSV Slider is a Python module that provides an easy way to create HSV color sliders using OpenCV. It allows you to interactively adjust HSV (Hue, Saturation, Value) color ranges, which can be useful for various computer vision tasks such as color-based object detection.
Installation
You can install HSV Slider using pip:
pip install hsv-slider
Usage
Here's a basic example of how to use HSV Slider:
import cv2
from hsv_slider import create_hsv_slider, lower_bound_hsv, upper_bound_hsv
hsv_slider = create_hsv_slider()
while True:
values = hsv_slider.get_values()
lower_bound = lower_bound_hsv(values)
upper_bound = upper_bound_hsv(values)
# Use lower_bound and upper_bound in your image processing code
if cv2.waitKey(1) & 0xFF == ord('q'):
break
cv2.destroyAllWindows()
License
This project is licensed under the MIT License - see the LICENSE file for details.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distributions
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file hsv_slider-0.2.0-py3-none-any.whl.
File metadata
- Download URL: hsv_slider-0.2.0-py3-none-any.whl
- Upload date:
- Size: 2.5 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.11.6
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
69d622bcefa89cac1f6afb602c22ba9ce6bc2087dafa2ea20f973f0dabdb3850
|
|
| MD5 |
ebac5e03f882f46af9d114917ce89fbc
|
|
| BLAKE2b-256 |
57a981c2563ebae0448eb35c95660e93521cd14df62913fce567d78fe5223501
|