1安装使用Python SDK方式如下:如果已安装pip,执行pip install baidu-aip,即可。2准备图片: 要识别文字的图片 3编写python代码如下: 源代码 4识别效果如下: 效果图