Spaces:
Running
Running
File size: 689 Bytes
b611f38 | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 | """
Core OCR Benchmarking, Visualization & Region Classification Modules.
"""
from core.models import Region, RegionType, OCRModelOutput, ALL_REGION_TYPES, REGION_COLORS
from core.region_classifier import classify_region, compute_region_summary
from core.visualizer import render_annotated_image, save_visualization, image_to_base64_jpeg
from core.layout_engine import layout_engine, LayoutEngine
__all__ = [
"Region",
"RegionType",
"OCRModelOutput",
"ALL_REGION_TYPES",
"REGION_COLORS",
"classify_region",
"compute_region_summary",
"render_annotated_image",
"save_visualization",
"image_to_base64_jpeg",
"layout_engine",
"LayoutEngine"
]
|