Windows-first batch OCR pipeline for device labels.
python -m pip install -r requirements.txtCreate .env:
API_KEY=your_api_key_here
Put images in new_images, then run:
python run_all.py --input new_images --out runs --format jsonl --log-level info --device cpuOr double-click start.bat. The script creates new_images if needed and stops with a clear prompt when the folder is empty.
Results are written under runs/. If output folders already exist, a per-run sibling folder is created to avoid overwrites.
stage1_labels/orstage1_labels_run_*stage2_fields/model/stage2_fields/sn/stage2_fields/manifest.jsonlstage2_fields/model_sn_ocr.jsonlstage2_fields/debug_ocr_barcode.logonly with--log-level debug
See README_EN.md or README_ZH.md for details.