feat(draw_bbox): add layout sorting visualization
Implement a new function `draw_layout_sort_bbox` in `draw_bbox.py` to visualize the layout sorting results using the `LayoutLMv3ForTokenClassification` model. This function predicts the order of layout elements and draws them in the sorted sequence on the PDF pages.
Showing
magic_pdf/v3/ds_config.json
0 → 100644
magic_pdf/v3/eval.py
0 → 100644
magic_pdf/v3/helpers.py
0 → 100644
magic_pdf/v3/train.py
0 → 100644
magic_pdf/v3/train.sh
0 → 100755
Please register or sign in to comment