Skip to content

Commit

Permalink
fix comparison & readme
Browse files Browse the repository at this point in the history
  • Loading branch information
hedgeho committed Nov 11, 2023
1 parent c28ab13 commit 54d721b
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 3 deletions.
14 changes: 11 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,11 +20,19 @@ and the slot machine effect ([2]) further promotes harmful sedentary lifestyle.

Weihua is social media of the new age.
Combining many features of the apps young people enjoy, it is created with wellbeing of its users at the core.
Weihua is a fun

## Implementation
Weihua is a fun way to challenge yourself and your friends, while learning some moves to show off at a party later,
together with your friend group. Every day there are 5 new challenges of different difficulty, which you can try to complete.
You will see how well you managed to reproduce the dance, and compete against your friends and people in your country
(within your difficulty level). No users are able to see others' videos, only scores.

Key features include

## References
- watching the dance challenge and recording your own attempt in the app
- scoring of how well your dance matches the dance in today's challenge
- leaderboard within your friend group for the current day

## Implementation


[1]: https://www.who.int/news/item/22-11-2019-new-who-led-study-says-majority-of-adolescents-worldwide-are-not-sufficiently-physically-active-putting-their-current-and-future-health-at-risk
Expand Down
2 changes: 2 additions & 0 deletions backend/yolo_model/comparison.py
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,8 @@ def _frames_to_movements(frames):
# all relative to upper left corner of the bounding box
movements = [[] for _ in range(0, 17)]
for frame in frames:
if not frame:
continue
frame = frame[0] # first person in the frame
for i in range(0, 17):
x = frame['keypoints']['x'][i]
Expand Down

0 comments on commit 54d721b

Please sign in to comment.