Skip to content

Color matching and detection, skin and finger detection with opencv

Notifications You must be signed in to change notification settings

SamSamhuns/color_matching_and_skin_detection

Repository files navigation

Color, Skin, and Finger Detection in Images

Source Image Skin Detection
alt text alt text

Note: Skin Detection with HSV color space filtering might not work for all skin tones

Install requirements

python -m venv venv
source venv/bin/activate
pip install -r requirements.txt

Webcam fingertip detection

# runs finger detection on the webcam, Press z when fingers are visible in the 9 squares
python skin_and_finger_detection/video_fingertip_detection.py

Webcam skin detection based on YCrCb Color Space

# displays the original webcam screen and the skin detection result screen
python skin_and_finger_detection/video_skin_detection.py

Choose a HSV color space filter threshold on an image

# move sliders to find the optimal threshold for detecting different colors in image
python color_detection/image_hsv_threshold_picker.py -i <IMAGE_PATH>

Filter colors in video using HSV color space filters

python color_detection/video_color_detection.py -v <VIDEO_PATH>

Reference

About

Color matching and detection, skin and finger detection with opencv

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages