Convolutional Neural Network trained on Google's Quick Draw Dataset to recognize hand drawn doodle images. The CNN model predictions are exposed using a REST API with Flask server and requests are made to the model from an in-browser canvas element using JavaScript.
All the Requirements are listed in requirements.txt
.
OpenCV, Keras, Numpy, PIL.
The canvas.js
file handles the DOM manipulation for drawing and clearing the Canvas element and all the requests are sent to the Flask server for the current state of the canvas when Submit button is clicked.
Clear button clears the canvas contents.
Server runnning on local host. Run the server.py
file first. Make sure all the libraries and packages are available.