Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
cheollie committed Jun 11, 2023
2 parents c03b388 + b7ef7cf commit 23af2a6
Show file tree
Hide file tree
Showing 2 changed files with 42 additions and 4 deletions.
42 changes: 40 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,9 +1,47 @@
# ORZ chelsea
# PhysioQuest
> Gamifiyng physiotherapy to encourage to encourage consistency and accuracy


## Inspiration
This project came about because of our group's personal experience with how difficult it is to actually stay on top and keep track of exercises that physiotherapists assign. About a week ago, I went to the physiotherapist to check up on my jaw (it was misaligned), and the physiotherapist gave me a list of exercises for me to do every evening until our next appointment. I told myself I would do the exercises, but when the next day came, I forgot, and the day after that, I was too lazy to do it. Physioquest is meant to be an answer to this problem of being unable to complete daily exercises, a problem that I'm sure is experienced by more than just me.

### What it does
Physioquest turns the mundane physiotherapist-assigned exercises into a game, encouraging you to complete your exercises every day by creating streaks and providing points for accuracy. It also contains other features such as a ranking system, badges, an admin interface for physiotherapists to assign exercises to their clients, and much, much more.

The OpenCV Camera Demo can be found [here](https://youtu.be/K0PG3x9Bbh4).

### How we built it
Physioquest utilizes the Mediapipe Pose Landmarks library to detect and track human poses from a live camera feed. It then measures the angle of each shoulder to ensure the user is correctly completing the given quest and rewards them based on accuracy.

### Challenges we ran into
One challenge we encountered is integration. Although we were able to get each aspect working individually, we struggled with integrating them all together. Another challenge we ran into was time management. Given a 36 hour time frame, we struggled with keeping on task to complete the project on time.

### Accomplishments that we're proud of
We are proud of our use of AI considering the fact that none of us had knowledge on how to create an AI model going into this project. We are also proud of our effective communication and teamwork, utilizing each other's strengths and recognizing weaknesses to effectively create an AI based project.

### What we have learned
Going into this project, we had little to no knowledge on the use of OpenCV. Throughout the course of this project, we were able to learn how to use facial detection and body movements to complete complex tasks.

### What's next for PhysioQuest
The first thing to do would be to fully integrate openCV with our program to get full functionality. Then, we would implement some of the following:
- a better admin panel for physiotherapists that is more intuitive. Currently, we are just using basic django admin models.
- fleshing out the socialization feature, allowing users with similar issues to connect and work together to get better
- make the program into a mobile application, as it would probably be more applicable/practical there. Currently, our product is a pwa.
- incorporate more game aspects like sprites and other graphics to make it a better user experience




<br/>


##### DB setup (dev)


Dump fixtures: `python manage.py dumpdata backend.model_name --indent 4 > fixtures/model_name.json`

Load fixtures:
`python manage.py loaddata fixtures/exercises.json`
`python manage.py loaddata fixtures/quests.json`
`python manage.py loaddata fixtures/users.json`
`python manage.py loaddata fixtures/users.json`
4 changes: 2 additions & 2 deletions jamhacks/jamhacks/settings.py
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
# See https://docs.djangoproject.com/en/4.2/howto/deployment/checklist/

# SECURITY WARNING: keep the secret key used in production secret!
SECRET_KEY = 'django-insecure-_esi73h6_yej76asd*g^1bokr0f_dh)98#qkd_#-hs9$_44lod'
SECRET_KEY = 'django-debug-key-this-isnt-the-real-one-for-jamhacks7'

# SECURITY WARNING: don't run with debug turned on in production!
DEBUG = True
Expand Down Expand Up @@ -168,4 +168,4 @@
}
]
PWA_APP_DIR = 'ltr'
PWA_APP_LANG = 'en-US'
PWA_APP_LANG = 'en-US'

0 comments on commit 23af2a6

Please sign in to comment.