All OCR templates
{{ template.id ? 'Configure OCR Template' : 'Add OCR Template' }}
{{ template.service?.name || 'New service' }} / {{ template.ocr_type?.name || 'New OCR type' }}
Set up the template, run sample OCR, and map fields from one page.
Loading template...
Template Settings
Choose what this template processes and how the OCR model should extract data.
Instructions are applied when extracting documents for this service and OCR type.
Sample OCR
Use a representative document to discover source keys for mapping.
Up to 20 MB. Sample OCR does not deduct credits.
Sample data detected from {{ sampleFile.name }}
Preview extracted values
{{ JSON.stringify(form.sample_data, null, 2) }} Save the template to store this sample data for field mapping.
No sample data yet. You can add or map fields manually.
Save the template to enable field configuration below.
Template Fields {{ filteredFields.length }}
Captured website fields and OCR mappings for this template.
| Field | Form Key | OCR Mapping | Default Value | Order | Actions |
|---|---|---|---|---|---|
{{ field.field_name }}{{ field.field_label || field.field_name }}Captured · {{ field.page }}OCR Mapping | name: {{ field.source_name }}{{ field.field_key_type }}: {{ field.field_key }} | {{ key }} Captured from website formUses field name | {{ field.default_value }}{{ field.default_value === null ? 'null' : '—' }} | {{ field.field_kind === 'form' ? field.order_no + 1 : field.order_no }} | |
| No fields yet. Add your first field using the editor. | |||||
| No fields match this search. | |||||
{{ editingCapturedFieldId ? 'Edit Captured Field' : (editingFieldId ? 'Edit Field Mapping' : 'Add Field Mapping') }}
{{ editingCapturedFieldId ? 'Update the captured website field details.' : 'Map document keys to a field on the target form.' }}