Skip to content

Commit

Permalink
[feat/#46] 거북목 threshold 조정
Browse files Browse the repository at this point in the history
  • Loading branch information
lkhoony committed Sep 18, 2024
1 parent 0a8629b commit 0e976b1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/utils/detector.ts
Original file line number Diff line number Diff line change
Expand Up @@ -151,7 +151,7 @@ export const detectTextNeck = (refer: pose[], comp: pose[], isSnapShotMode = tru
const compRatio = compForwardHeadDistance / compShoulderDistance

const SLOPE_DIFF_THRESHOLD = 0.3
const RATIO_DIFF_THRESHOLD = 0.9
const RATIO_DIFF_THRESHOLD = 0.98
if (slopeDifference <= SLOPE_DIFF_THRESHOLD && referRatio * RATIO_DIFF_THRESHOLD > compRatio) {
return true
} else {
Expand Down

0 comments on commit 0e976b1

Please sign in to comment.