Rust / WebAssembly can do a lot.
OCR is automatic, high quality, and dirt cheap nowadays, even on device.
Rust / WebAssembly can do a lot.