LPRNet_Pytorch icon indicating copy to clipboard operation
LPRNet_Pytorch copied to clipboard

Fix opencv imread when the fpath contains Chinese

Open ausk opened this issue 1 year ago • 1 comments

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

ausk avatar Jun 21 '23 13:06 ausk

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

gb16001 avatar May 16 '24 13:05 gb16001