[EDIT] removed unused hand stuff

This commit is contained in:
Sem van der Hoeven
2021-06-04 16:32:30 +02:00
parent 1ab5ae798e
commit e70d2ef19d
5 changed files with 4 additions and 36 deletions

View File

@@ -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);

View File

@@ -1,14 +0,0 @@
#include "HandPresentChecker.h"
#include <opencv2/imgproc.hpp>
#include <iostream>
namespace computervision
{
namespace handcalibration
{
}
}

View File

@@ -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);
}