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
- Blinking
- application
- requestPermission
- BottomSheetDialog
- LOG
- onReceivedSslError
- 403 Error
- shotcut
- jsontokotlinclass
- skipcollapsed
- notification bar
- webview
- ActivityResultContracts
- kdoc-generator
- notification
- ExifInterface
- Plugins
- ChromeCustomTab
- Android
- navigation component
- 이미지 gps
- room
- circlecrop
- itemAnimator
- prettyJson
- notification setting
- App Startup
- onResume
- Git
- datastore
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