pip install pyocr python import pyocr python import pyocr.builders tools = pyocr.get_available_tools() for tool in tools: print(tool.get_name()) python python image = Image.open('image.png') python result = tool.image_to_string(image, lang='chi_sim', builder=pyocr.builders.TextBuilder()) python print(result)


上一篇:
下一篇:
切换中文