From 196afc52e31604f328c2fc0642bf01e7cad3b7a7 Mon Sep 17 00:00:00 2001 From: Junya Ishihara Date: Sat, 6 Jul 2019 03:56:32 +0900 Subject: [PATCH] Fix - Single pose mode should run if "single" is specified as "type". (#514) --- src/PoseNet/index.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/PoseNet/index.js b/src/PoseNet/index.js index a25f8c41c..7a6fd49aa 100644 --- a/src/PoseNet/index.js +++ b/src/PoseNet/index.js @@ -76,9 +76,9 @@ class PoseNet extends EventEmitter { } if (this.detectionType === 'single') { this.singlePose(); + } else { + this.multiPose(); } - - this.multiPose(); } return this; }