[ADD] detecting if hand is in square
This commit is contained in:
@@ -9,6 +9,7 @@
|
||||
#include "FaceDetector.h"
|
||||
#include "FingerCount.h"
|
||||
#include "async/StaticCameraInstance.h"
|
||||
#include "HandPresentChecker.h"
|
||||
|
||||
namespace computervision
|
||||
{
|
||||
@@ -66,10 +67,14 @@ namespace computervision
|
||||
putText(cameraFrame,hand_text, Point(10, 75), FONT_HERSHEY_PLAIN, 2.0, Scalar(255, 0, 255),3);
|
||||
imshow("camera", cameraFrame);
|
||||
|
||||
imshow("output", frameOut);
|
||||
imshow("foreground", foreground);
|
||||
imshow("handMask", handMask);
|
||||
imshow("handDetection", fingerCountDebug);
|
||||
//imshow("output", frameOut);
|
||||
//imshow("foreground", foreground);
|
||||
//imshow("handMask", handMask);
|
||||
//imshow("handDetection", fingerCountDebug);
|
||||
|
||||
check_if_hand_present(handMask);
|
||||
|
||||
|
||||
|
||||
int key = waitKey(1);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user