Home / Projects

DoodleAI: sketch recognition API

A CNN that recognises hand-drawn sketches in 120 categories, served as an API. 92% top-1 accuracy. It powers the AI Playground on this site.

About the project

DoodleAI is a REST API that recognises hand-drawn sketches. A convolutional neural network trained on Google's Quick, Draw! dataset classifies a drawing into one of 120 categories and returns the top three guesses.

It powers the AI Playground on this site. The browser crops and redraws your sketch to match the training data, and the site's API routes call DoodleAI server-side, so credentials never reach the browser.

The model was trained on a free Kaggle GPU (T4 x2) and is served with ONNX Runtime from a Flask app in Docker, deployed to Hugging Face Spaces by GitHub Actions.

Highlights