[ADD] comments to fingercount

This commit is contained in:
Sem van der Hoeven
2021-05-21 15:21:03 +02:00
parent acf24cab36
commit ca591dd427
2 changed files with 77 additions and 0 deletions

View File

@@ -40,6 +40,8 @@ namespace computervision
Mat getSkinMask(Mat input);
private:
// thresholds for hsv calculation
int hLowThreshold = 0;
int hHighThreshold = 0;
int sLowThreshold = 0;
@@ -47,6 +49,7 @@ namespace computervision
int vLowThreshold = 0;
int vHighThreshold = 0;
// wether or not the skindetector has calibrated yet.
bool calibrated = false;
// rectangles that get drawn to show where the skin color will be sampled