pytesseract
pip install pytesseract
텍스트 인식 python 라이브러리
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)
우분투 설치 큐브 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
설치 큐브 5ubuntu
sudo apt update
sudo apt install snapd
sudo snap install tesseract --edge