python-tesseract

    1熱度

    1回答

    我使用魔杖,pytesseract獲得上傳到一個Django的網站,像這樣的PDF文本: image_pdf = Image(blob=read_pdf_file, resolution=300) image_png = image_pdf.convert('png') req_image = [] final_text = [] for img in image_png.sequen

    0熱度

    1回答

    我需要從python遊戲窗口中截取的截圖中提取文本。到目前爲止,我一直在使用tesseract(pytesseract),但雖然識別本身很好,但性能並不理想。 正如我所讀到的,tesseract最適用於高分辨率的圖像,我想知道是否有更好的(更快)的方式?

    1熱度

    2回答

    我想在Jupyter筆記本上使用pytesseract。 的Windows 10的x64 運行Jupyter筆記本(Anaconda3,Python的3.6.1)具有管理權限 包含TIFF文件的工作目錄是不同的驅動器(Z :) 當我運行以下代碼: try: import Image except ImportError: from PIL import Image impo

    1熱度

    1回答

    正方體已經安裝在我的系統中沒有模塊名爲 'tesserwrap',嘗試安裝tesserwrap但得到錯誤的 安裝使用的Tesseract命令 - pip install tesseract 嘗試使用安裝Tesserwrap模塊命令 - pip install tesserwrap Collecting tesserwrap Using cached tesserwrap-0.1.6.tar.

    0熱度

    1回答

    我需要使用pytesseract將幾個頁面的image.tif轉錄爲文本。 我有下面的代碼: > From PIL import Image > Import pytesseract > Pytesseract.pytesseract.tesseract_cmd = 'C:/Program Files (x86)/Tesseract- > OCR/tesseract ' > Print (

    0熱度

    2回答

    我一直用這個代碼來測試它有一些問題Pytesser:在Windows from PIL import Image import pytesseract img = Image.open('pic.png') img.load() text = pytesseract.image_to_string(img) print(text) 上運行的Python 3.4 當運行我從Pytes

    0熱度

    2回答

    我有下面的代碼來做一些ocr的東西。當這完成後,我想生成一些窗口。但是,每當我運行我的代碼,我得到了第13行的以下錯誤:unindent does not match any outer indentation level我認爲這很奇怪,因爲我沒有看到我的代碼中有任何奇怪的縮進。見下面我的代碼: import Tkinter as tk from os import * from PIL im

    0熱度

    1回答

    我使用pytesseract與線: text = image_to_string(temp_test_file, lang='eng', boxes=False, config='-c preserve_interword_spaces=1 hocr') ,並與收到錯誤 pytesseract.py 135| f = open(ou

    3熱度

    1回答

    問題 我試圖用Python編寫代碼使用的Tesseract-OCR圖像預處理和認可。我的目標是可靠地解決這種形式的驗證碼。 Original captcha and result of each preprocessing step 步驟的現在 灰度和圖像的閾值 圖像的PIL 提高轉換爲TIF和規模> 300像素 飼料它的Tesseract-OCR(白名單全部爲大寫字母) 不過,我仍然得到一個相當

    1熱度

    1回答

    我想從圖像收據中提取總帳單。我可以提取圖像中存在的全部數據,但現在我只能提取我需要的信息。 這是我有的圖像。 我從圖像 m cm lnnk 3mm: :33; no 1 z m x Visut all! ms「; (or nulnunn mfn an an: nan. Sub Iota] 19.56 TOTAL 19.56 VISA 1956 Fun 19.56 D!!! You