[FEATURE] finished hand open/closed recognition

This commit is contained in:
Sem van der Hoeven
2021-05-25 14:49:04 +02:00
parent 3696e2eb30
commit 05ae8ee019
5 changed files with 28 additions and 9 deletions

View File

@@ -24,6 +24,13 @@ namespace computervision
*/
Mat findFingersCount(Mat input_image, Mat frame);
/**
* @brief gets the currently held-up finger count.
*
* @return the currently held-up finger count
*/
int getAmountOfFingers();
private:
// colors to use
Scalar color_blue;
@@ -34,6 +41,8 @@ namespace computervision
Scalar color_yellow;
Scalar color_purple;
int amount_of_fingers;
/**
* @brief finds the distance between 2 points.
*