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.
- Simply clone and start index.html and wait for model to load
- Put your desired object infront of webcam and press the button corresponding to the desired movement needed if the object is shown
- Feed multiple time for better accuracy(optional)
- Click Train Model and wait for it to train
- 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
