[EDIT] improve hand detection with mask

This commit is contained in:
Sem van der Hoeven
2021-05-25 14:19:18 +02:00
parent 276aa1a449
commit 3696e2eb30
4 changed files with 126 additions and 61 deletions

View File

@@ -22,7 +22,7 @@ namespace computervision
void SkinDetector::drawSkinColorSampler(Mat input) {
int frameWidth = input.size().width, frameHeight = input.size().height;
int rectangleSize = 20;
int rectangleSize = 25;
Scalar rectangleColor = Scalar(255, 0, 255);
skinColorSamplerRectangle1 = Rect(frameWidth / 5, frameHeight / 2, rectangleSize, rectangleSize);