Skip to content

Commit

Permalink
Merge pull request #71 from DDD-Community/feat/#46
Browse files Browse the repository at this point in the history
[feat/#46] 거북목 threshold 조정
  • Loading branch information
lkhoony authored Sep 18, 2024
2 parents 4f94eb6 + 0e976b1 commit 8c689f0
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 8c689f0

Please sign in to comment.