Giter Club home page Giter Club logo

poscify-mobile's Introduction

GDSC Hackathon VietNam 2024 (Poscify)

Firebase Firestore Firebase Authentication MediaPipe TensorFlow Kubeflow Google Drive API

logo

About project

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.

Sustainable Development Goals of United Nations

logo logo
  • 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

Video demo

https://drive.google.com/drive/folders/192E1hDc0UwuKMdJt3oqG_G-a5SgBtdmT

Table of Contents

Technologies

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)

Structure

/
├── 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

Installation

This project is designed to be run in Google Colab and Python IDE. After cloning the project, please follow these steps:

For the model folder

  1. 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.
  1. Model Training:
  • Execute python trainclassifer.py to train the model. The trained model will be saved as model.sav.
  1. 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.

For the app folder

  1. Clone the repository
  2. Open the project in your preferred IDE (e.g. Android Studio, VS Code)
  3. Run npm install to install the required dependencies
  4. Run 'npm run android' or 'npm run ios' due to your preferences OS.
  5. Run the project in an emulator or on a physical device

Architecture

Software architecture

image

Operation procedure

image

AI flow

image

License

This project is licensed under the MIT License.

poscify-mobile's People

Contributors

hungmeomeo avatar

Forkers

nguyentran186

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.