Skip to content

aguyran/GestureControlledSnake

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

23 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Gesture Controlled Snake Game

example

A ml5 mobilenet based classifier controlled snake game, where the user can give pictures of objects or anything(hands)etc, as a mean to control the game.

It has 4 directions which can be trained individually.

To use it/run it

  1. Simply clone and start index.html and wait for model to load
  2. Put your desired object infront of webcam and press the button corresponding to the desired movement needed if the object is shown
  3. Feed multiple time for better accuracy(optional)
  4. Click Train Model and wait for it to train
  5. The game will start once the model is trained and the objects can be put infront of the camera to move the snake to the desired direction

About

ml5 (tensorflowJS) based Snake Game, written in vanilla JS

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors