sirius-ai / LPRNet_Pytorch

Pytorch Implementation For LPRNet, A High Performance And Lightweight License Plate Recognition Framework.
Apache License 2.0
908 stars 227 forks source link

Fix opencv imread when the fpath contains Chinese #82

Open ausk opened 1 year ago

ausk commented 1 year ago

opencv 无法读取中文路径下的图片(如Windows系统上)。使用 numpy 读取到内存,然后使用 opencv 解码,实现图片读取。

gb16001 commented 3 months ago

遇到了同样的bug,希望作者pull一下。 另外 batch_size 系列参数没有设置为int类型,如果外部输入会认成str