1

テキスト抽出の問題。Pythonで画像抽出を使用するのは初めてです。

from pytesser import *
import Image 

file = 'C:\\Image1.bmp'
image = Image.open(file)  # Open image object using PIL
print "1",image_to_string(image)     # Run tesseract.exe on image
print "2",image_file_to_string(file)

Text extraction works on Image1.
>> Text

Text extract does NOT work on Image2.
>> C)

提案してください。 画像1画像2

4

0 に答える 0