Skip to content
FinHubBy HabileLabs

Document Intelligence · Quality

Catch a bad scan before it wastes an OCR or verification call — check blur, glare, cropping and resolution in milliseconds.

api · POST /v1/kyc/verify
POST /v1/kyc/verify
Authorization: Bearer sk_live_••••
{ "pan": "XXXXX1234F", "consent_artifact": "ca_9f2c…" }

Overview

What the Document Quality Check API does

FinHub's Document Quality Check API scores an uploaded document image for the conditions that break downstream OCR and verification — blur, glare, poor lighting, cropped edges and low resolution — and returns a pass/fail signal with per-issue detail. Teams place it as a gate in front of any capture flow, with consent capture and a tamper-evident audit log on every call.

Inputs

  • Document image (PDF or photo)
  • Expected document type
  • Consent artifact ID

Returns

  • Overall quality score
  • Blur, glare & lighting flags
  • Crop / edge-detection status
  • Resolution assessment
  • Retake recommendation

POST /v1/ocr/document-quality-check

How it works

Three steps to a verified result

01

Upload the capture

Send the document image immediately after capture, before it moves to OCR or verification.

02

We score the image

FinHub's quality models check blur, glare, lighting, cropping and resolution against thresholds tuned for OCR readiness.

03

Get a pass/fail signal

Receive an overall score and per-issue flags in milliseconds, so your app can prompt a retake before the document reaches downstream checks.

Use cases

Where teams use Document Quality Check

  • Pre-capture gating in mobile onboarding apps
  • Reducing OCR and verification failure rates
  • Call-center and branch document capture QA
  • Bulk document ingestion pipelines

FAQ

Document Quality Check API — FAQs

Common questions about FinHub's Document Quality Check API.

It detects blur, glare, poor lighting, cropped or missing edges and low resolution, returning an overall score plus per-issue flags.

Ready to add Document Quality Check to your flow?

Book a demo and see the API return a verified result on your own test data in minutes.