mirror of
https://github.com/opendatalab/MinerU.git
synced 2026-10-25 09:35:17 +08:00
crop_pil_image multiplied the normalized bbox by the render scale, yielding ~2px crops. Map it to the actual rendered image dimensions instead and drop the now-unused scale parameter from the crop chain. Rename _normalize_bbox_to_thousandths to _normalize_bbox_to_unit since it already emits 0-1 coordinates. Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>