• myhloli's avatar
    refactor(draw_bbox): clear cuda cache and update bbox sorting · 36220d69
    myhloli authored
    - Added CUDA cache clearing after layoutreader prediction to free up GPU memory.
    - Modified the bbox sorting logic to sort text and title blocks separately.
    - Adjusted drawing colors for better distinction in debug visualizations.
    36220d69
draw_bbox.py 15.7 KB