/** * Usage text for the `ppu-paddle-ocr` CLI. Printed to stdout for `help` / * `--help`, and to stderr (followed by a non-zero exit) on usage errors. */ export declare const USAGE = "ppu-paddle-ocr \u2014 PaddleOCR on the command line\n\nUsage:\n ppu-paddle-ocr [args] [flags]\n\nCommands:\n recognize OCR one image (file path or http(s) URL)\n batch OCR many images (globs or a list of paths/URLs)\n stream OCR many images, printing each result as it finishes\n download-models Pre-warm the model cache (~/.cache/ppu-paddle-ocr)\n clear-cache Delete the cached model files\n models Print the active models, defaults, and providers\n help Show this help\n version Show the installed version\n\nRecognition flags (recognize / batch / stream):\n --strategy per-box | per-line | cross-line (default per-box)\n --cross-line-width-factor bin-pack width multiplier for cross-line (default 1.0)\n --engine opencv | canvas-native (default opencv)\n --image-height recognition input height in px (default 48)\n --flatten flat results in reading order instead of grouped lines\n --no-cache bypass the in-memory result cache\n\nModel overrides:\n --model catalogue preset, e.g. v6-small (default), v6-tiny,\n v5-en-mobile, v5-thai-mobile (see 'models --json')\n --model-detection override the preset's detection model\n --model-recognition override the preset's recognition model\n --model-dict override the preset's dictionary\n\nDetection tuning:\n --max-side-length longest side before downscale (default 640)\n --padding-vertical box padding, fraction of height (default 0.4)\n --padding-horizontal box padding, fraction of height (default 0.6)\n --min-area drop boxes smaller than this area in px (default 50)\n --mean normalization mean (default 0.485,0.456,0.406)\n --std normalization std dev (default 0.229,0.224,0.225)\n\nSession:\n --execution-providers comma-separated, e.g. cpu or cuda,cpu (default cpu)\n\nBatch / stream:\n --concurrency images in flight at once (default auto)\n --settle keep going past a failed image (default on for batch/stream)\n\nOutput:\n -o, --output write to a file instead of stdout\n --json emit structured JSON (NDJSON for stream)\n --pretty indent JSON output\n -q, --quiet suppress progress/logs on stderr\n --verbose log each processing step to stderr\n --debug dump intermediate frames to disk\n --debug-folder where --debug writes (default out)\n\nExamples:\n ppu-paddle-ocr recognize receipt.jpg\n ppu-paddle-ocr recognize https://example.com/invoice.png --json --pretty\n ppu-paddle-ocr batch \"scans/*.png\" --strategy cross-line -o results.json --json\n ppu-paddle-ocr download-models --verbose\n";