Skip to content

Commit 196afc5

Browse files
champierrejoeyklee
authored andcommitted
Fix - Single pose mode should run if "single" is specified as "type". (#514)
1 parent 0546e37 commit 196afc5

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/PoseNet/index.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -76,9 +76,9 @@ class PoseNet extends EventEmitter {
7676
}
7777
if (this.detectionType === 'single') {
7878
this.singlePose();
79+
} else {
80+
this.multiPose();
7981
}
80-
81-
this.multiPose();
8282
}
8383
return this;
8484
}

0 commit comments

Comments
 (0)