[ADD] basis for async arm detection

This commit is contained in:
Sem van der Hoeven
2021-05-28 15:31:21 +02:00
parent a68c6a57bf
commit 40529f84b3
9 changed files with 119 additions and 56 deletions

View File

@@ -11,7 +11,7 @@
namespace computervision
{
cv::VideoCapture cap(1);
cv::VideoCapture cap(0);
cv::Mat img, imgGray, img2, img2Gray, img3, img4;
@@ -33,6 +33,11 @@ namespace computervision
return img;
}
cv::VideoCapture ObjectDetection::getCap()
{
return cap;
}
bool ObjectDetection::detectHand(Mat cameraFrame)
{
Mat inputFrame = generateHandMaskSquare(cameraFrame);