카테고리 없음

파이썬에서 pytesseract를 사용하여 문자 인식 ( OCR ) 하기

되꼬다음 2019. 4. 22. 01:10
반응형

https://webnautes.tistory.com/947

 

파이썬에서 pytesseract를 사용하여 문자 인식 ( OCR ) 하기

Tesseract의 파이썬 래퍼인 pytesseract를 설치하여 이미지 상의 글자를 인식시키는 코드를 작성해보았습니다. Ubuntu 18.04에서 테스트를 진행했습니다. ps. Raspberry Pi에서는 다음처럼 진행하세요. 설치 s

webnautes.tistory.com

 

https://github.com/madmaze/pytesseract

 

madmaze/pytesseract

A Python wrapper for Google Tesseract. Contribute to madmaze/pytesseract development by creating an account on GitHub.

github.com

 

*** 인식률 높이기

 

1. 이미지 흑백 변환

2. 확대

3. 노이즈 제거

4. 이진화

5. 인식

 

 

반응형