justadudewhohacks / justadudewhohacks/opencv4nodejs

HSL values for skinColorUpper and skinColorLower

Open
#734 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
C++
Stars
5.1k
Forks
826
PR merge metrics
No merged PRs in 30d

Description

How do you select the correct values for skinColorUpper and skinColorLower? I read your post on Medium but it was not described in great detail. I used a color picker https://pinetools.com/image-color-picker and looked over a frame from your sample video, but still couldn't figure out how you picked the values of
```
//const skinColorUpper = hue => new cv.Vec(hue, 0.8 * 255, 0.6 * 255);
//const skinColorLower = hue => new cv.Vec(hue, 0.1 * 255, 0.05 * 255);
```
I am trying to make the code work for my own video, with the following colors:
![hand_picture](https://user-images.githubusercontent.com/46139686/85455318-c8032980-b56b-11ea-8a90-558f6abc711f.PNG)

Furthermore, is there any method for me to run the hand tracking example using the live-feed of my webcam instead of a pre-recorded video? Thanks for your help.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.