Builds a CRAFT box-extraction strategy: native region + affinity heatmap
decode (outputs[0] = [1, Hd, Wd, 2]), then line grouping and de-skew in
TypeScript; per-glyph boxes when charLevel. Detector input dims must be
even (half-resolution heatmap). craftExtractBoxes is this with the
default thresholds.
Builds a CRAFT box-extraction strategy: native region + affinity heatmap decode (
outputs[0]=[1, Hd, Wd, 2]), then line grouping and de-skew in TypeScript; per-glyph boxes whencharLevel. Detector input dims must be even (half-resolution heatmap). craftExtractBoxes is this with the default thresholds.