Notice
Recent Posts
Recent Comments
Link
일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
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 | 29 | 30 | 31 |
Tags
- onReceivedSslError
- BottomSheetDialog
- App Startup
- kdoc-generator
- Git
- notification bar
- ActivityResultContracts
- skipcollapsed
- navigation component
- jsontokotlinclass
- LOG
- room
- datastore
- notification
- Plugins
- onResume
- prettyJson
- ChromeCustomTab
- notification setting
- application
- 403 Error
- webview
- 이미지 gps
- requestPermission
- itemAnimator
- shotcut
- ExifInterface
- Android
- Blinking
- circlecrop
Archives
- Today
- Total
Debbi Story
CentOS Tesseract 설치하기 본문
728x90
CentOS 7 Tesseract-OCR 5.0.0 설치
- 에러 발생시 ImportError: libGL.so.1 on CentOS
yum install mesa-libGL
- “make” command not found 시
yum groupinstall "Development Tools"
- tesseract configure시 에러 아래 .bashrc에 추가
vi ~/.bashrc
export PKG_CONFIG_PATH=/usr/local/leptonica-1.79.0/lib/pkgconfig
source ~/.bashrc
- leptonica , tesseract 모두 설치 후 .bashrc에 추가
export PATH=$PATH:/usr/local/tesseract-5.0/bin
export LD_LIBRARY_PATH=/usr/local/tesseract-5.0/lib
export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/usr/local/leptonica-1.79.0/lib
export TESSDATA_PREFIX=/usr/local/tesseract-5.0/share/tessdata
- tesseract pixReadMempn Error
Tesseract runtime error: Error in pixReadMemPng: function not present
yum install libjpeg*
- Tesseract 버전
https://github.com/tesseract-ocr/tesseract/archive/refs/tags/5.0.0-alpha-20201231.tar.gz
- 언어 모델 데이터
https://github.com/tesseract-ocr/tessdata/raw/4.00/eng.traineddata
https://github.com/tesseract-ocr/tessdata/raw/4.00/kor.traineddata