练手之作,非常简陋。。。
python_ocr
├── LICENSE
├── README.md
├── autoRename.bat # put it in the images folder and click to run it,if you want to rename the files in the folder.
├── images
├── only_text.py
├── requirements.txt
└── result.txt
需要重命名
images
下的文件名的话就把autoRename.bat
放到该文件夹下运行。 代码运行的结果会输出到result.txt
中。
pip install -r .\requirements.txt # -i https://pypi.tuna.tsinghua.edu.cn/simple