Skip to content

About

Before you spend a model call on a blurry, blown-out, or postage-stamp-sized capture, reject it at the edge. `

Topics

Resources

Stars

0 stars

Watchers

0 watching

Forks

Latest commit

 

History

1 Commit

Folders and files

Repository files navigation

capture-qa

Before you spend a model call on a blurry, blown-out, or postage-stamp-sized capture, reject it at the edge. capture-qa runs fast, model-free quality gates on document/selfie images — the cheap first stage of any identity-capture pipeline.

Install

pip install -e .

Usage

from captureqa import assess

report = assess("document.jpg")
report["passed"]            # overall gate
report["metrics"]           # blur_score, brightness, exposure fractions, resolution
report["checks"]["sharp"]   # {'passed': True/False, 'detail': 'blur_score=...'}

Checks: sharpness (variance of Laplacian), over/under-exposure, and minimum resolution — all thresholds configurable. MIT licensed.

About

Before you spend a model call on a blurry, blown-out, or postage-stamp-sized capture, reject it at the edge. `

Topics

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages