[EDIT] removed unused hand stuff
This commit is contained in:
@@ -8,7 +8,6 @@
|
||||
#include "SkinDetector.h"
|
||||
#include "FingerCount.h"
|
||||
#include "async/StaticCameraInstance.h"
|
||||
#include "calibration/HandPresentChecker.h"
|
||||
#include "calibration/HandCalibrator.h"
|
||||
|
||||
namespace computervision
|
||||
@@ -69,10 +68,10 @@ namespace computervision
|
||||
hand_calibrator.DrawHandCalibrationText(camera_frame);
|
||||
imshow("camera", camera_frame);
|
||||
|
||||
//imshow("output", frame_out);
|
||||
//imshow("foreground", foreground);
|
||||
//imshow("handMask", handMask);
|
||||
//imshow("handDetection", fingerCountDebug);
|
||||
/*imshow("output", frame_out);
|
||||
imshow("foreground", foreground);
|
||||
imshow("handMask", handMask);
|
||||
imshow("handDetection", fingerCountDebug);*/
|
||||
|
||||
hand_present = hand_calibrator.CheckIfHandPresent(handMask);
|
||||
hand_calibrator.SetHandPresent(hand_present);
|
||||
|
||||
@@ -1,14 +0,0 @@
|
||||
#include "HandPresentChecker.h"
|
||||
#include <opencv2/imgproc.hpp>
|
||||
#include <iostream>
|
||||
|
||||
|
||||
|
||||
namespace computervision
|
||||
{
|
||||
namespace handcalibration
|
||||
{
|
||||
|
||||
}
|
||||
|
||||
}
|
||||
@@ -1,13 +0,0 @@
|
||||
#pragma once
|
||||
|
||||
#include <opencv2/core.hpp>
|
||||
namespace computervision
|
||||
{
|
||||
/**
|
||||
* @brief checks if the hand is present in the input image.
|
||||
*
|
||||
* @param input_image the image to check
|
||||
* @return true if the hand was found, false if not
|
||||
*/
|
||||
bool CheckIfHandPresent(cv::Mat input_image);
|
||||
}
|
||||
Reference in New Issue
Block a user