Git Product home page Git Product logo

virtualgym-2.0's Introduction

Virtual Gym

The Virtual Gym project is an Android application that uses the MLKit machine learning library to detect poses and count repetitions of various exercises such as push-ups, squats, and shoulder presses. The application will utilize the pose detection feature of the MediaPipe library to accurately detect the user's poses and track their body movements during exercises. With this information, the application will count the repetitions of each exercise the user performs.
There are many features which include:-
1 Count your correct reps of different exercises.
2 You can learn the exercises from tutorials.
3 Search the required exercise -Using Tries .
4 Make your own workout plan by setting different time intervals.
5 You can save your daily records on FireStrore (NoSQL Database).
6 You Can see your records daily according to your date choice.

VIRTUAL GYM - DEMO VIDEO

VIRTUAL GYM

VIRTUAL GYM (1)

VIRTUAL GYM (2)

VIRTUAL GYM (3)

RUN THE APP

Model

The ML Kit Pose Detection API is a lightweight versatile solution for app developers to detect the pose of a subject's body in real time from a continuous video or static image. A pose describes the body's position at one moment in time with a set of skeletal landmark points. The landmarks correspond to different body parts such as the shoulders and hips. The relative positions of landmarks can be used to distinguish one pose from another.

Requirements

  • Android Studio 3.2 (installed on a Linux, Mac or Windows machine)
  • Android device in developer mode with USB debugging enabled
  • USB cable (to connect Android device to your computer)

Build and run

  • Step 1. Clone the Repository
git clone https://github.com/naman-jain-44/virtual-gym.git
  • Step 2. Open Android Studio and from there choose 'Open an Existing Project'

  • Step 3. Build the Android Studio project

Select Build -> Make Project and check that the project builds successfully. You will need Android SDK configured in the settings. You'll need at least SDK version 23. The build.gradle file will prompt you to download any missing libraries and also connect it with Firebase Authentication with your account.
  • Step 4. Install and Run the app
Connect the Android device to the computer and be sure to approve any ADB permission prompts that appear on your phone. Select Run -> Run app. Select the deployment target in the connected devices to the device on which the app will be installed. This will install the app on the device.

To test the app, open the app called Virtual Gym on your device. When you run the app the first time, the app will request permission to access the camera. Re-installing the app may require you to uninstall the previous installations.

That's it!

virtualgym-2.0's People

Contributors

naman-jain-44 avatar

Stargazers

 avatar

Watchers

 avatar

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.