01. The Challenge
Server-side OCR sends user handwriting to a backend and adds a network round trip to every stroke.
02. The Solution
Ran the recognition model client-side with TensorFlow.js inside a React and TypeScript app, so inference happens in real time on the user's device.
Overview
NeuroOCR is a browser-based handwriting recognition app. The model runs client-side with TensorFlow.js, so recognition is real time and private by default.
How it works
The user draws on a canvas; strokes are rasterised and fed to a TensorFlow.js model already loaded in the page, and predictions update as the user writes.
System Architecture
TensorFlow.js model loaded in the browser
React + TypeScript drawing canvas
Real-time client-side inference