[EDIT] removed unused hand stuff
This commit is contained in:
@@ -8,7 +8,6 @@
|
|||||||
#include "SkinDetector.h"
|
#include "SkinDetector.h"
|
||||||
#include "FingerCount.h"
|
#include "FingerCount.h"
|
||||||
#include "async/StaticCameraInstance.h"
|
#include "async/StaticCameraInstance.h"
|
||||||
#include "calibration/HandPresentChecker.h"
|
|
||||||
#include "calibration/HandCalibrator.h"
|
#include "calibration/HandCalibrator.h"
|
||||||
|
|
||||||
namespace computervision
|
namespace computervision
|
||||||
@@ -69,10 +68,10 @@ namespace computervision
|
|||||||
hand_calibrator.DrawHandCalibrationText(camera_frame);
|
hand_calibrator.DrawHandCalibrationText(camera_frame);
|
||||||
imshow("camera", camera_frame);
|
imshow("camera", camera_frame);
|
||||||
|
|
||||||
//imshow("output", frame_out);
|
/*imshow("output", frame_out);
|
||||||
//imshow("foreground", foreground);
|
imshow("foreground", foreground);
|
||||||
//imshow("handMask", handMask);
|
imshow("handMask", handMask);
|
||||||
//imshow("handDetection", fingerCountDebug);
|
imshow("handDetection", fingerCountDebug);*/
|
||||||
|
|
||||||
hand_present = hand_calibrator.CheckIfHandPresent(handMask);
|
hand_present = hand_calibrator.CheckIfHandPresent(handMask);
|
||||||
hand_calibrator.SetHandPresent(hand_present);
|
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);
|
|
||||||
}
|
|
||||||
@@ -21,7 +21,6 @@
|
|||||||
<ItemGroup>
|
<ItemGroup>
|
||||||
<ClCompile Include="src\collision\collision_handler.cpp" />
|
<ClCompile Include="src\collision\collision_handler.cpp" />
|
||||||
<ClCompile Include="src\computervision\calibration\HandCalibrator.cpp" />
|
<ClCompile Include="src\computervision\calibration\HandCalibrator.cpp" />
|
||||||
<ClCompile Include="src\computervision\calibration\HandPresentChecker.cpp" />
|
|
||||||
<ClCompile Include="src\scenes\in_Game_Scene.cpp" />
|
<ClCompile Include="src\scenes\in_Game_Scene.cpp" />
|
||||||
<ClCompile Include="src\computervision\async\async_arm_detection.cpp" />
|
<ClCompile Include="src\computervision\async\async_arm_detection.cpp" />
|
||||||
<ClCompile Include="src\computervision\ObjectDetection.cpp" />
|
<ClCompile Include="src\computervision\ObjectDetection.cpp" />
|
||||||
@@ -47,7 +46,6 @@
|
|||||||
<ClInclude Include="src\collision\collision.h" />
|
<ClInclude Include="src\collision\collision.h" />
|
||||||
<ClInclude Include="src\collision\collision_handler.h" />
|
<ClInclude Include="src\collision\collision_handler.h" />
|
||||||
<ClInclude Include="src\computervision\calibration\HandCalibrator.h" />
|
<ClInclude Include="src\computervision\calibration\HandCalibrator.h" />
|
||||||
<ClInclude Include="src\computervision\calibration\HandPresentChecker.h" />
|
|
||||||
<ClInclude Include="src\scenes\in_Game_Scene.h" />
|
<ClInclude Include="src\scenes\in_Game_Scene.h" />
|
||||||
<ClInclude Include="src\scenes\scene.h" />
|
<ClInclude Include="src\scenes\scene.h" />
|
||||||
<ClInclude Include="src\computervision\async\async_arm_detection.h" />
|
<ClInclude Include="src\computervision\async\async_arm_detection.h" />
|
||||||
|
|||||||
@@ -22,7 +22,6 @@
|
|||||||
<ClCompile Include="src\shaders\entity_shader.cpp" />
|
<ClCompile Include="src\shaders\entity_shader.cpp" />
|
||||||
<ClCompile Include="src\toolbox\toolbox.cpp" />
|
<ClCompile Include="src\toolbox\toolbox.cpp" />
|
||||||
<ClCompile Include="src\scenes\startup_Scene.cpp" />
|
<ClCompile Include="src\scenes\startup_Scene.cpp" />
|
||||||
<ClCompile Include="src\computervision\calibration\HandPresentChecker.cpp" />
|
|
||||||
<ClCompile Include="src\computervision\calibration\HandCalibrator.cpp" />
|
<ClCompile Include="src\computervision\calibration\HandCalibrator.cpp" />
|
||||||
</ItemGroup>
|
</ItemGroup>
|
||||||
<ItemGroup>
|
<ItemGroup>
|
||||||
@@ -54,7 +53,6 @@
|
|||||||
<ClInclude Include="src\toolbox\Timer.h" />
|
<ClInclude Include="src\toolbox\Timer.h" />
|
||||||
<ClInclude Include="src\toolbox\toolbox.h" />
|
<ClInclude Include="src\toolbox\toolbox.h" />
|
||||||
<ClInclude Include="src\scenes\startup_Scene.h" />
|
<ClInclude Include="src\scenes\startup_Scene.h" />
|
||||||
<ClInclude Include="src\computervision\calibration\HandPresentChecker.h" />
|
|
||||||
<ClInclude Include="src\computervision\calibration\HandCalibrator.h" />
|
<ClInclude Include="src\computervision\calibration\HandCalibrator.h" />
|
||||||
</ItemGroup>
|
</ItemGroup>
|
||||||
<ItemGroup>
|
<ItemGroup>
|
||||||
|
|||||||
Reference in New Issue
Block a user