JaidedAI / EasyOCR

Ready-to-use OCR with 80+ supported languages and all popular writing scripts including Latin, Chinese, Arabic, Devanagari, Cyrillic and etc.
https://www.jaided.ai
Apache License 2.0
24.52k stars 3.16k forks source link

Update utils.py #1257

Open HyenaSeba opened 6 months ago

HyenaSeba commented 6 months ago

Added new ValueError to reformat_input_batched function. The old version would raise "The input image array contains images of different sizes." even if the array is empty which would misled the debug process.