Spaces:
Sleeping
Sleeping
| """ | |
| Module OCR — Moteur docTR multilingue (Français, Anglais, Arabe) | |
| """ | |
| from .doctr_engine import ( | |
| get_predictor, | |
| run_ocr, | |
| to_layoutxlm_format, | |
| draw_bounding_boxes, | |
| ) | |
| from .ocr_cleaner import clean_ocr_output, correction_report | |
| from .post_processor import ( | |
| clean_invoice_ocr, | |
| reconstruct_lines_table_aware, | |
| detect_column_boundaries, | |
| lines_to_text, | |
| correction_report_invoice, | |
| ) | |
| __all__ = [ | |
| "get_predictor", | |
| "run_ocr", | |
| "to_layoutxlm_format", | |
| "draw_bounding_boxes", | |
| "clean_ocr_output", | |
| "correction_report", | |
| "clean_invoice_ocr", | |
| "reconstruct_lines_table_aware", | |
| "detect_column_boundaries", | |
| "lines_to_text", | |
| "correction_report_invoice", | |
| ] | |