img2textforrobot/readme.md

23 lines
459 B
Markdown
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

# 根据图片生成答案
## img2text.py 为python3 版本 python3.8测试可用)
## img2text2.py 为python2 版本
1.下载包
git clone http://sl.vrgon.com:3000/wangzixiang/img2textforrobot.git
2.安装依赖包
pip install requests
3.测试运行
python main.py
4.使用
将src 放入同级目录下然后根据main.py 方式调用即可
# sample
![](docs/0bec4563f67e5c03c7bf8c75a1618dd.png)
![](docs/14da2209e097daa5deda08fa4f5123e.png)