mirror of
https://github.com/RapidAI/RapidOCR.git
synced 2026-11-10 21:10:55 +08:00
TextDetector.get_preprocess replaced limit_side_len with a hard-coded 960/1500/2000 bucket whenever limit_type was "max", so the configured value was ignored and large images reached the detector unresized. Pass the configured limit_side_len through for both limit types, matching PaddleOCR DetResizeForTest.