diff --git a/src/utils/detector.ts b/src/utils/detector.ts index e204a69..f3c60c6 100644 --- a/src/utils/detector.ts +++ b/src/utils/detector.ts @@ -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 {