
Runs a CRAFT text-detection checkpoint over each Image and emits one Polygon<Double> per detected text region — raw region geometry for cropping or masking rather than extracted text strings.
Text crop handoff to OCR — each region polygon is cropped and read.
Live region overlay streamed back to a browser for debugging.
mag_ratio and canvas_size must both be greater than zero or startup aborts.[Polygon<Double>], not an annotated image; pair with a visualization component for a rendered preview. Polygon mode is on, and when a curved polygon cannot be formed for a region the component falls back to that region's 4-point box. Regions with fewer than three vertices are silently dropped.canvas_size caps the resized long side before a 32-pixel pad — raise it for small text in high-resolution scans, lower it to bound memory and latency — while text_threshold, link_threshold, and low_text are CRAFT cutoffs that interact non-linearly and are best tuned on a validation set.device starting with `cuda` silently falls back to CPU when CUDA is unavailable at startup; CPU inference is impractical for live video on this detector.Automated release