[ADD] basis for async arm detection
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user