![logo](https://private-user-images.githubusercontent.com/95847972/307503659-c59b1fa6-8696-4f81-9aba-a63fe891848e.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MjUwODIxOTgsIm5iZiI6MTcyNTA4MTg5OCwicGF0aCI6Ii85NTg0Nzk3Mi8zMDc1MDM2NTktYzU5YjFmYTYtODY5Ni00ZjgxLTlhYmEtYTYzZmU4OTE4NDhlLnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNDA4MzElMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjQwODMxVDA1MjQ1OFomWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPTE1YjNkN2I4ZmMwM2IzY2M2ZjI5MWNhYzI1YjYwNGMwMjg4OWQxZDI1N2YxOGM4MzJmZTA3YjRiMTYzMjc5NjMmWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0JmFjdG9yX2lkPTAma2V5X2lkPTAmcmVwb19pZD0wIn0.dPy3GqLEiYwURs9yjd_HSjmvJBcwbma4J_l4G01glKo)
Poscify was born amidst the global threat of diseases related to eye and spine conditions caused by improper sitting habits. Poscify aims to improve posture and health for children, especially when they are sitting on school chairs, thereby enhancing societal awareness of education within families.
![logo](https://private-user-images.githubusercontent.com/95847972/307506037-376699e3-3004-454b-9708-23fb77820f0f.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MjUwODIxOTgsIm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A1MjQ1OFomWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPTY2MWVjNzg0MzBkMzI1NGMxYTAyZmY1YzBlZThlZThhMTQ4ZmQ3NWY4N2ExNGNmMDgxOWQyZDFjODkxN2Y3NjAmWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0JmFjdG9yX2lkPTAma2V5X2lkPTAmcmVwb19pZD0wIn0.gRfkfTV1X4XQNsBsy-dN6_fUU9xIDA2fM3SBclNfNiE)
-
Goal 3: Good Health and Well-being Improving sitting posture contributes to a healthy foundation for children
-
Goal 4: Quality Education Beyond analyzing posture, our solution emphasizes human values by involving parents in guiding posture correction for their children
https://drive.google.com/drive/folders/192E1hDc0UwuKMdJt3oqG_G-a5SgBtdmT
This project was implemented using the following technologies:
- Mediapipe
- Tensorflow
- Firebase storage
- Firebase Google Auth
- Kuberflow
- Python 3
- React Native
- Google Cloud API, Go(Comming soon)
/
├── model
│ ├── api.py
│ ├── datacollect.py
│ ├── posture_data.py
│ ├── trainclassifer.py
│ ├── predict_demo.py
│ ├── predict_nofity.py
│ ├── model.sav
├── src
│ ├── assets
│ ├── components
│ ├── models
│ ├── pages
│ ├── utils
│ ├── App.js
│ ├── package.json
| ├── README.md
│ ├── firebaseConfig.js
| └── yarn.lock
This project is designed to be run in Google Colab and Python IDE. After cloning the project, please follow these steps:
- Data Collection:
- Run python datacollect.py.
- Follow the prompts to adopt different postures and press the corresponding keys (B for 'okay', C for 'bad', D for 'terrible').
- Aim for 400 instances for each posture category.
- Press 'Q' to exit the program and save the collected data as posture_data.npy.
- Model Training:
- Execute python trainclassifer.py to train the model. The trained model will be saved as model.sav.
- API Setup:
- Launch the API by running python api.py.
- Once Flask has finished preparing, the frontend framework can interact with the API via socket on port 5000.
- Provide instructions on how to call the API in the README file.
- Clone the repository
- Open the project in your preferred IDE (e.g. Android Studio, VS Code)
- Run
npm install
to install the required dependencies - Run 'npm run android' or 'npm run ios' due to your preferences OS.
- Run the project in an emulator or on a physical device
This project is licensed under the MIT License.