The Codeforge OCR API allows developers to extract structured data from identity documents (like Aadhaar Cards) and general images using state-of-the-art machine learning models.

Authentication

Currently, the API is open for public testing. No API key is required for the beta phase.

Extract Data

Upload a document to extract text and bounding boxes.

POST http://54.211.136.79:8001/api/v1/extract

Request Parameters

Parameter Type Required Description
file File Yes The image file to process (JPG, PNG).
doc_type String No Document type hint. Options: auto, aadhaar_card.
Default: auto
detailed Boolean No Return detailed bounding boxes and confidence scores.
Default: true