[FIX] in game scene

This commit is contained in:
Sem van der Hoeven
2021-06-11 10:58:21 +02:00
parent 645c4df494
commit ae9386a811
5 changed files with 11 additions and 10 deletions

View File

@@ -121,10 +121,11 @@ namespace scene
update(window);
if (hand_mode) {
cameraFrame = objDetect.readCamera();
cameraFrame = objDetect.ReadCamera();
//Get hand state from camera
bool hand_detection = objDetect.detectHand(cameraFrame);
bool detect = false;
bool hand_detection = objDetect.DetectHand(cameraFrame,detect);
if (hand_detection)
{