Tesseract ubuntu เป็นภาษาไพธอน

รหัสตัวอย่าง

5
0

pytesseract

pip install pytesseract
5
0

ข้อความได้รับการห้องสมุดเป็นภาษาไพธอน

import cv2 
import pytesseract

img = cv2.imread('image.jpg')

# Adding custom options
custom_config = r'--oem 3 --psm 6'
pytesseract.image_to_string(img, config=custom_config)
1
0

ubuntu ติดตั้ง Tesseract OCR

sudo apt install tesseract-ocr

# If you wish to install the Developer Tools which can be used 
# for training, run the following command:
sudo apt install libtesseract-dev 
0
0

ติดตั้ง tesseract 5 ubuntu

sudo apt update
sudo apt install snapd
sudo snap install tesseract --edge

ในภาษาอื่นๆ

หน้านี้อยู่ในภาษาอื่นๆ

Русский
..................................................................................................................
English
..................................................................................................................
Italiano
..................................................................................................................
Polski
..................................................................................................................
Română
..................................................................................................................
한국어
..................................................................................................................
हिन्दी
..................................................................................................................
Français
..................................................................................................................
Türk
..................................................................................................................
Česk
..................................................................................................................
Português
..................................................................................................................
中文
..................................................................................................................
Español
..................................................................................................................
Slovenský
..................................................................................................................
Балгарскі
..................................................................................................................
Íslensk
..................................................................................................................

ดังอยู่ในนี้หมวดหมู่

ดังหน้ากับตัวอย่างอยู่ในหมวดหมู่