[ADD] detecting if hand is in square

This commit is contained in:
Sem van der Hoeven
2021-06-04 13:09:51 +02:00
parent 4c49895f6d
commit f5926fffcb
5 changed files with 69 additions and 171 deletions

View File

@@ -2,9 +2,11 @@
#include <GLFW/glfw3.h>
#include <map>
#include "startup_Scene.h"
#include "../computervision/ObjectDetection.h"
namespace scene
{
computervision::ObjectDetection objDetect;
scene::Scenes scene::Startup_Scene::start(GLFWwindow *window)
{
@@ -27,6 +29,7 @@ namespace scene
void scene::Startup_Scene::update(GLFWwindow* window)
{
objDetect.detectHand(objDetect.readCamera());
}