Skip to content

This is a doodle drawing game which can be played by multiple players. Here the doodles can be drawn in air and MAGICALLY the strokes are plotted on canvas and the drawings are then classified using a trained model to award points for successful prediction of the drawing.

onkar-99/AirCanvas-Gesture-based-Drawing

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

30 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

AirCanvas: Gesture-based Drawing using OpenCV

This is a doodle drawing game which can be played by a maximum of 5 players. Here the doodles can be drawn in air and MAGICALLY the strokes are plotted on canvas to draw the doodles.
Here the game first randomly gives categories to user and they have 60 seconds to draw as many doodles as possible. Scores are awarded based on successful prediction by the model which is trained on the Quick Draw Dataset. 26 categories which are easy to draw (eg clock, apple, bucket etc) are selected and model is trained specifically on them. Before starting the game, it is made mandatory to select the marker HSV colour range to select the object which is to be used for drawing doodles. index.py is the start file, and make sure to include all the other files in same folder and also change path in the IDE to that folder.

Model: Model is trained on quickdraw dataset which is proprocessed to grayscale images in shape 64x64x1.
Link to Dataset

Output

Image

About

This is a doodle drawing game which can be played by multiple players. Here the doodles can be drawn in air and MAGICALLY the strokes are plotted on canvas and the drawings are then classified using a trained model to award points for successful prediction of the drawing.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published