Read field values from a scanned or photographed form using a template of field
Read field values from a scanned or photographed form using a template of field boxes: OCR text per field (tesseract), parsed numbers and dates, checkbox states. Maps template boxes (mm on a page size, or pixels of a reference image) onto the scan (sharp, EXIF orientation applied), crops each box with an inset that drops frame lines, upscales small text and runs the tesseract 5 LSTM binary per field under prlimit (line/block/word mode, digit whitelist for numbers and dates).
Paid test badge: not yet. The checks above are free: we call the tool without paying and read the payment request it sends back. The Verified badge needs paid calls whose answers match the promised output, and nobody can buy a badge.
Endpoint
POST https://format.halowerk.com/v1/form-scan-map
| Category | Image and media |
|---|---|
| Provider host | format.halowerk.com |
| Networks | eip155:8453 |
| Payment schemes | exact |
| Self-reported calls, 30 days | 1 from 1 payers (the provider's figure, not ours) |
Our checks, last 30 days
| Day | Result | HTTP | Asked | Time |
|---|---|---|---|---|
| 2026-11-26 | valid payment request | 402 | $0.01 | 1168 ms |
| 2026-11-25 | valid payment request | 402 | $0.01 | 1184 ms |
| 2026-11-24 | valid payment request | 402 | $0.01 | 1219 ms |
| 2026-11-23 | valid payment request | 402 | $0.01 | 1264 ms |
| 2026-11-22 | valid payment request | 402 | $0.01 | 1186 ms |
| 2026-11-21 | valid payment request | 402 | $0.01 | 1185 ms |
Example input (from the provider)
{
"body": {
"image_base64": "iVBORw0KGgoAAAANSUhEUgAAADAAAAAwAQMAAABtzGvEAAAABlBMVEXs7OwBAQHast2IAAAACXBIWXMAAAsTAAALEwEAmpwYAAAAnElEQVQYlY3QsQ0DIQwF0G+5oGQENmELtqEgyjZkCSOKW4PTdako6YjsU/pDSPAkLH8DPF6UUkoA7723gPQo4G+tHwEJwKJbr391oAnoKHQJ+BC+BNSHawJu07/15QqkdTmyKmZTWCY/TW6Y3DD5aQrLFLMpR9MKqjb9S7sP17W78KmyENQskua0OovL5dY9is1X7vkEqLXW8vyTfhVpYYYk2AAYAAAAAElFTkSuQmCC",
"template": {
"fields": [
{
"height": 32,
"kind": "checkbox",
"name": "accepted",
"width": 32,
"x": 8,
"y": 8
}
],
"unit": "px"
}
},
"bodyType": "json",
"method": "POST",
"type": "http"
}
Promised output schema (from the provider)
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"properties": {
"input": {
"additionalProperties": false,
"properties": {
"body": {
"additionalProperties": false,
"properties": {
"checkbox_threshold": {
"default": 0.08,
"maximum": 0.6,
"minimum": 0.02,
"type": "number"
},
"image_base64": {
"maxLength": 20000000,
"type": "string"
},
"inset_mm": {
"default": 1,
"maximum": 5,
"minimum": 0,
"type": "number"
},
"language": {
"default": "deu+eng",
"enum": [
"deu",
"eng",
"deu+eng"
],
"type": "string"
},
"template": {
"additionalProperties": false,
"properties": {
"fields": {
"items": {
"additionalProperties": false,
"properties": {
"height": {
"exclusiveMinimum": 0,
"type": "number"
},
"kind": {
"default": "text",
"enum": [
"text",
"number",
"date",
"checkbox"
],
"type": "string"
},
"mode": {
"default": "line",
"enum": [
"line",
"block",
"word"
],
"type": "string"
},
"name": {
"maxLength": 60,
"minLength": 1,
"type": "string"
},
"whitelist": {
"maxLength": 120,
"pattern": "^[^\\s]*$",
"type": "string"
},
"width": {
"exclusiveMinimum": 0,
"type": "number"
},
"x": {
"minimum": 0,
"type": "number"
},
"y": {
"minimum": 0,
"type": "number"
}
},
"required": [
"name",
"x",
"y",
"width",
"height"
],
"type": "object"
},
"maxItems": 25,
"minItems": 1,
"type": "array"
},
"page_height_mm": {
"maximum": 1000,
"minimum": 20,
"type": "number"
},
"page_width_mm": {
"maximum": 1000,
"minimum": 20,
"type": "number"
},
"reference_height_px": {
"maximum": 20000,
"minimum": 10,
"type": "integer"
},
"reference_width_px": {
"maximum": 20000,
"minimum": 10,
"type": "integer"
},
"unit": {
"enum": [
"mm",
"px"
],
"type": "string"
}
},
"required": [
"unit",
"fields"
],
"type": "object"
}
},
"required": [
"image_base64",
"template"
],
"type": "object"
},
"bodyType": {
"enum": [
"json",
"form-data",
"text"
],
"type": "string"
},
"method": {
"enum": [
"POST",
"PUT",
"PATCH"
],
"type": "string"
},
"type": {
"const": "http",
"type": "string"
}
},
"required": [
"type",
"method",
"bodyType",
"body"
],
"type": "object"
},
"output": {
"properties": {
"example": {
"type": "object"
},
"type": {
"type": "string"
}
},
"required": [
"type"
],
"type": "object"
}
},
"required": [
"input"
],
"type": "object"
}