Skip to content

Commit 27e2378

Browse files
fix flipHorizontal pass
Co-authored-by: Yining Shi <[email protected]>
1 parent c1c95cd commit 27e2378

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

src/Handpose/index.js

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,9 @@ class Handpose extends EventEmitter {
6767
}
6868
await mediaReady(image, false);
6969
const { flipHorizontal } = this.config;
70-
const predictions = await this.model.estimateHands(image, flipHorizontal);
70+
const predictions = await this.model.estimateHands(image, {
71+
flipHorizontal,
72+
});
7173
const result = predictions;
7274

7375
this.emit("hand", result);

0 commit comments

Comments
 (0)