Skip to main content

Module layout_postprocess

Module layout_postprocess 

Source
Expand description

Layout Detection Post-processing

This module implements post-processing for layout detection models including PicoDet, RT-DETR, and PP-DocLayout series models.

Structs§

LayoutPostProcess
Layout detection post-processor for models like PicoDet and RT-DETR.

Functions§

apply_nms_with_merge
Apply Non-Maximum Suppression with per-class merge modes.
merge_boxes
Merge two bounding boxes according to the specified mode.
unclip_boxes
Apply unclip ratio to expand/shrink bounding boxes while keeping center fixed.