'language_type': 'CHN_ENG', # 识别语言类型 } # 调用通用文字识别接口 result = aipOcr.basicGeneral(get_file_content(filePath), options) print('\n' * 1) print("检测到图片文字可能有 %s 行\n内容如下: "%(result["words_result_num"])) fd = open("识别文字.txt",'w+') fd.write("检...