Bangladesh NID OCR — API Tester

Standalone page for exercising a locally-running instance of the ocr_nid API. Not part of the FastAPI app itself.

Front and back are sent as two separate requests (to /extract then /extract/back, replacing the last path segment) — each OCR pass is slow enough on CPU that combining both into one request risks a gateway timeout.
Click to choose an image, or drag one here
front preview
Click to choose an image, or drag one here
back preview