Skip to content

Commit

Permalink
Merge pull request #104 from DDD-Community/feat/#46
Browse files Browse the repository at this point in the history
[feat/#46] 꼬리뼈 앉기 감도 수정
  • Loading branch information
lkhoony authored Sep 27, 2024
2 parents 6e5ba6f + 6c8c601 commit ab76439
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/utils/detector.ts
Original file line number Diff line number Diff line change
Expand Up @@ -316,8 +316,8 @@ export const detectTailboneSit = (refer: pose[], comp: pose[]): boolean | null =
const compShoulderMidpoint = getMidPoint(compLeftShoulder, compRightShoulder)

if (
compShoulderDistance / referShoulderDistance < 0.97 &&
compEarDistance / referEarDistance < 0.97 &&
compShoulderDistance / referShoulderDistance < 0.95 &&
compEarDistance / referEarDistance < 0.95 &&
referShoulderMidpoint.y < compShoulderMidpoint.y &&
referEarMidpoint.y < compEarMidpoint.y
) {
Expand Down

0 comments on commit ab76439

Please sign in to comment.