Skip to content

sachsom95/PoseMan

Repository files navigation

image

PoseMan

PoseMan is a Web-game to gameify 5 min breaks after an hour long coding session. Standup and make poses to guess the word. Don't worry privacy. The Webcam converts you body into an animated SVG letting you do all the poses you want.

The game requires full view of body not just the hands

Screenshot 2021-02-26 at 01 56 26

How to Play

  • Access the WebPage from here
  • Provide access to camera
  • See your animated SVG on left (random Avatar on each page load)
  • Start the game by pressing the start Button
  • Stand back the Model works only if the full torso is visible
  • Start guessing and good luck :)

Features

  • Inspired by the Tensorflow research blog the app captures webcam feed and passes the data to an ML model to animate the SVG.
  • A seprate Neural network trained on Poses will try to capture user poses and give outputs.
  • Light weight JS Web application runs right on your browser

Screenshot 2021-02-26 at 01 56 26

Requirements

yarn
Yarn should be installed on your machine to run the game After installing all the dependency add following command to scripts in package.json

"postbuild": "cp -R resources/{model,levels,images,sounds} dist/",

Then run yarn postbuild This should add all the required dependency into bundled folder

Game Settings

add following command to scripts in package.json

"postbuild": "cp -R resources/{model,levels,images,sounds} dist/",

Then run yarn run This should add all the required dependency into bundled folder

  • Need to give permision to access the browser camera

Expanding the game in dev mode

  • Clone the repository
  • Run the following commands on the terminal
yarn
yarn watch

Refer to requirments section about and do yarn postwatch

Release Notes

1.0.0

Initial release of PoseMan

License

MIT