개발기록 3

[Python/tesseract] 맥(Mac) tesseract 설치

$ brew install tesseract $ brew install tesseract-lang $ tesseract --list-langs $ pip install pytesseract $ pip install pytesseract imutils 마지막 2개는 둘 중 하나만 설치해도 되는 것 같다. 터미널에서 설치 후 파이참에서도 설치해주었다 (꼭 해야하는지는 모르겠다) 1. setting에 들어가서 interpreter에서 '+' 버튼을 눌러준다. 2. tesseract 검색 후 install Package 눌러서 설치 3. 모든 설치가 끝나고 실행이 잘 되는지 확인 import pytesseract import cv2 ori = cv2.imread("../fff/si.png") ttt = pyte..

Python 2024.03.06