QA screening tool for the Democracy's Library project
Find a file
2025-08-10 22:10:16 -07:00
.gitignore init 2025-08-10 12:27:39 -07:00
.python-version init 2025-08-10 12:27:39 -07:00
main.py add ocr crop warnings 2025-08-10 22:10:16 -07:00
mise.toml add ocr crop warnings 2025-08-10 22:10:16 -07:00
pyproject.toml init 2025-08-10 12:27:39 -07:00
README.md add ocr crop warnings 2025-08-10 22:10:16 -07:00
uv.lock init 2025-08-10 12:27:39 -07:00

MicroQA

QA assistant for the Internet Archive's microfiche scanning team.

Usage

Analyze page statistics for item:

echo 'micro_IA04244212_1665' | uv run main.py | jq

Paste item IDs from clipboard and summarize all (tr command collapses input to a single line so that items are summarized in parallel):

pbpaste | tr '\n' ',' | uv run main.py --summarize -workers 4 -v | jq

Test Cases

  • Blurry pages: micro_IA40244209_0984
  • Contrast, page orientation: micro_IA40244211_2290
  • Crop, low quality fiche: micro_IA40386420_0689