OCR Service

API documentation

Reads English and Arabic documents, labels their fields, fills the owner's document templates, works out whose each one is, and groups them by person. Optionally, a model on the same server describes each one in a few sentences.

Everything runs on the server itself.

Service APIhttps://docread.srv1283448.hstgr.cloud/v1For other servers, with an API key. Start here to integrate. See Service API (v1).
Pagehttps://docread.srv1283448.hstgr.cloudThe playground and its own /api, after signing in. See Access.
Local runhttp://127.0.0.1:8780On the machine the service runs on; the service API on API_PORT beside it.
Docs/docs/Where the service serves this page. No sign-in needed.
Spec/docs/openapi.yamlOpenAPI 3.1, served by the service. Also docs/openapi.yaml in the project.
Versionv0.2

Child pages

  • Quick startGet a key, send a document, read the fields. One request.
  • JobsJob states, timing, and how long results are kept.
  • Live progressFollow a job as it is read: each page, then the owner, the fields and the result, as events.
  • AccessSigning in, API keys, and the checks on every request.
  • EndpointsThe page's own API, /api.
  • Service API (v1)For other servers: /v1, with a key per client.
  • ReferenceResult shapes, templates, descriptions, grouping, errors and limits.

The OpenAPI 3.1 spec is docs/openapi.yaml in the project, and the service serves it at /docs/openapi.yaml. Its examples were checked against a running server with made-up documents.

Not in this version: callbacks. Poll, or wait on the request (?wait=).