在/picture/下放入测试图片,修改demo.py中的图像路径image_files = glob('./picture/test6.jpg'),然后运行demo.py,测试结果在/test_result/下生成
参考项目:
https://github.com/CrazySummerday/ctpn.pytorch
https://github.com/courao/ocr.pytorch
CRNN的预训练模型: https://drive.google.com/file/d/1WjiL7T4cq2Ug7KGBsEWf1tzee2OZeRqw/view?usp=sharing