Skip to content

marcycode/BoxAR

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

163 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

BoxAR

BoxAR is an AR-based boxing game that helps you improve cardio and hand-eye coordination through punching and dodging. Play in 4 different modes!

  • Free Play: Practice your punches, dodges and timing!
  • Scoring Mode: Follow the prompts to punch and dodge your way to a high score!
  • Survival: Punch and dodge as long as you can!
  • Multiplayer: Compete with a friend in a 1v1 match!

Image

Controls

  • Left/Right Jab
  • Dodge
  • Block

Tech Stack

  • Uses a morphological skeleton in OpenCV to track user movement and determine punches and dodges
  • Client webview is built with React.js
  • Video is streamed to the client using Flask

Conda environment setup

First, ensure you have conda installed. If not, you can download it from here.

Then, create a new conda environment with the following command:

conda env create -f conda_env.yml

This will create a new environment called boxar with all the necessary dependencies. To activate the environment, run:

conda activate boxar

Then, install the necessary python dependencies with:

pip install -r requirements.txt

Running Steps

  • navigate to boxAR-frontend and run npm run dev (also run npm install if you haven't already)
  • in the main directory, run flask run --port 8000

About

AR-based boxing game

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 4

  •  
  •  
  •  
  •