Skip to main content

Overview

Penquify was designed for OCR benchmarking. Generate documents with known data, apply controlled degradations, and compare your model’s extractions against ground truth — with the occlusion manifest telling you which fields are fairly testable.

Benchmarking Workflow

1

Define documents with known data

Create documents where every field value is known (the ground truth).
2

Generate photos with controlled variations

Apply specific presets to create photos with known degradation levels.
3

Run your model

Feed the generated photos to your OCR/extraction model.
4

Compare against ground truth

Use the ground truth JSON and occlusion manifest to score your model.

Example: Benchmark Matrix

Scoring Your Model

Load the ground truth and occlusion manifest, then score:

Metrics to Track