/fitMe

FitMe is an AI-based fitness application

Primary LanguageSCSS

FitMe

Click on the video for demo

Demo Link

Problem Statement

With increasing cases of COVID 19, the world has come to a halt. Public places have been shut to avoid large gatherings. One such place is Gym, which has made it difficult for so many people to keep up with their fitness. Due to the unfortunate position of isolation, people are struggling with various health-related problems such as obesity, irregular sleep patterns, eye strain, mental stress, decreased immunity, and hence, are at a higher risk of getting infected with the Coronavirus. The impact of staying fit is huge and it helps to be sane with all the stress people have. Now as the gyms are closed and people don't have the required guidance, an alternative is needed. In this pursuit of adapting to modern norms, a solution with gamified concepts is needed to help people with their fitness routine and keep them motivated to exercise daily.

What's our Solution?

FitMe is an AI-enabled fitness application which gives you the luxury of exercising or performing yoga asanas from the comfort of your home.

With the help of tensorflow, we are able to estimate the user’s pose and compare it to the ideal pose to generate an accuracy score which helps the user determine if they are doing the exercise or asanas the right way or not.

This eliminates the need for any trainer or expert’s intervention to know the correct technique for performing yogasanas and rectifying them. You just need your laptop which has a webcam to run this awesome application! The massive library of poses makes it perfect for everyone, be it beginners or professionals.

Working Explained

FitMe Flowchart

Project Snippets

home home2 signup login dashboard 1 5 3

Requirements

For development, you will need Node.js and a node global package, Yarn, installed in your environement. You also need to setup Firebase before running the project. You will also need to setup Firebase to be able to run the project. Without setting up the firebase you will just see white screen.

Node

  • Node installation on Windows

    Just go on official Node.js website and download the installer. Also, be sure to have git available in your PATH, npm might need it (You can find git here).

  • Node installation on Ubuntu

    You can install nodejs and npm easily with apt install, just run the following commands.

    $ sudo apt install nodejs
    $ sudo apt install npm
    
  • Other Operating Systems

    You can find more information about the installation on the official Node.js website and the official NPM website.

If the installation was successful, you should be able to run the following command.

$ node --version
v8.11.3

$ npm --version
6.1.0

If you need to update npm, you can make it using npm! Cool right? After running the following command, just open again the command line and be happy.

$ npm install npm -g

Yarn installation

After installing node, this project will need yarn too, so just run the following command.

  $ npm install -g yarn

Install

$ git clone https://github.com/Manthan109/fitMe.git
$ cd fitMe
$ yarn install  or  npm install

Running the project

$ yarn start or npm start

Simple build for production

$ yarn build or npm build