[ADD] mask methods

This commit is contained in:
Sem van der Hoeven
2021-05-25 13:31:25 +02:00
parent ad4075a826
commit 276aa1a449
4 changed files with 48 additions and 5 deletions

View File

@@ -46,6 +46,21 @@ namespace computervision
*/
void detect();
/**
* @brief generates the square that will hold the mask in which the hand will be detected.
*
* @param img the current camear frame
* @return a matrix containing the mask
*/
cv::Mat generateHandMaskSquare(cv::Mat img);
/**
* @brief reads the camera and returns it in a matrix.
*
* @return the camera frame in a matrix
*/
cv::Mat readCamera();
};