pycorã«å¿ è¦ãªã¢ã¸ã¥ã¼ã«ãã¤ã³ãã¼ããã¾ãã ããã§ã¯pyocrã¨ç»åãèªã¿è¾¼ãããã«PIL(PythonImagingLibrary)ã® Imageã¢ã¸ã¥ã¼ã«ãã¤ã³ãã¼ããã¾ãã from PIL import Image import pyocr pyocrãå©ç¨å¯è½ã確èªãã¾ãã tools = pyocr.get_available_tools() tool = tools[0] print(âWill use tool â%s'â % (tool.get_name())) ãWill use tool âTesseract (sh)âãã¨åºåãããã°åé¡ãªãã§ãã ãlist index out of rangeãã®ã¨ã©ã¼ãåºåãããéã¯tesseractãæ£å¸¸ã«ã¤ã³ã¹ãã¼ã«ããã¦ããªãå¯è½æ§ãããã¾ãã pyocrã«ããç»åããããã¹ãã®æ½åº 次ã«ããã¹ããæ½åºãããç»åã
{{#tags}}- {{label}}
{{/tags}}