티스토리 뷰
pytesseract를 사용하여, 이미지의 text 출력
code:
from PIL import Image import pytesseract pytesseract.pytesseract.tesseract_cmd = 'C:/Program Files/Tesseract-OCR/tesseract.exe' print(pytesseract.image_to_string(Image.open('./test.png'))) |
output:
I watch three climb before it’s my turn.[lit’s a tough one.|ilithe guy before me tries twice.[ll He falls tuice.[lAfter the last one, he cones down,lie’s finished for the gay. Te's my turn. “good luck!” to me.) pit of a problem, outcrop on this one. halfway up the wall. It's not a |
원본 이미지
Wow...
'[Python]' 카테고리의 다른 글
[Python] 파이썬으로 MySQL DB 연결 후 데이터 출력 (0) | 2021.05.16 |
---|---|
[Python] 파이썬으로 csv파일 생성 후 데이터 저장하기 (0) | 2021.05.16 |
[Python] 파이썬 pytesseract 에러 발생 시 (0) | 2021.05.15 |
ModuleNotFoundError: No module named 'pytesseract' (0) | 2021.05.15 |
[Python] URL 웹페이지 스크린 샷 (0) | 2021.05.14 |
댓글
공지사항
최근에 올라온 글
최근에 달린 댓글
- Total
- Today
- Yesterday
링크
TAG
- virus
- emailhacking
- Security
- 보안
- 브라우저실행
- 악성코드분석
- 보안기술정보
- 바이러스토탈
- 웹크롤링
- 분석도구
- zerosecurity
- URL열기
- python3
- 악성코드분석도구
- 해킹
- python
- 파이썬웹크롤러
- 오류해결
- zerosecu
- 멀웨어
- 파이썬개발환경
- 악성메일분석
- 파이썬
- hacking
- 악성코드
- malware
- maware
- 바이러스
- 바이러스토탈 사용법
- 웹크롤링기초
일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
1 | ||||||
2 | 3 | 4 | 5 | 6 | 7 | 8 |
9 | 10 | 11 | 12 | 13 | 14 | 15 |
16 | 17 | 18 | 19 | 20 | 21 | 22 |
23 | 24 | 25 | 26 | 27 | 28 |
글 보관함