Skip to main content

Module db_postprocess

Module db_postprocess 

Source
Expand description

Post-processing for DB (Differentiable Binarization) text detection models.

The DBPostProcess struct converts raw detection heatmaps into geometric bounding boxes by thresholding, contour extraction, scoring, and optional polygonal post-processing. Supporting functionality (bitmap extraction, scoring, mask morphology) is split across helper modules within this directory.

Structsยง

DBPostProcess
Post-processor for DB (Differentiable Binarization) text detection models.
DBPostProcessConfig
Runtime configuration for DB post-processing.