scripts.postprocessing.consolidate_results
Consolidate Pipeline Results Script
Creates a single JSON file that links all per-label results across the pipeline (detection → classification → rotation → OCR → post‑processing).
Supports both the traditional (TensorFlow-based) pipeline and the Gemini pipeline.
Output is a flat list of per-label entries, each containing: source_image,
label_filename, label_index, category, bounding-box coordinates,
rotation_angle, and ocr (method, text, confidence).
Functions
|
Auto-detect pipeline type and consolidate all results. |
|
Main entry point. |
|
Parse command-line arguments. |