justadudewhohacks / justadudewhohacks/opencv4nodejs
HSL values for skinColorUpper and skinColorLower
- 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:

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
Assessment
This issue has not been assessed yet.