왼쪽은 PC(ubuntu 22.04)
오른쪽은 arm에서 소스 받아서 직접 빌드.
동일한 tessdata 를 이용했는데 인식율에 차이가 어마어마하게 난다 -_-
$ tesseract --dpi 132 스크린샷\ 2023-12-26\ 17-19-43.png - -v tesseract 4.1.1 leptonica-1.82.0 libgif 5.1.9 : libjpeg 8d (libjpeg-turbo 2.1.1) : libpng 1.6.37 : libtiff 4.3.0 : zlib 1.2.11 : libwebp 1.2.2 : libopenjp2 2.4.0 Found AVX2 Found AVX Found FMA Found SSE Found libarchive 3.6.0 zlib/1.2.11 liblzma/5.2.5 bz2lib/1.0.8 liblz4/1.9.3 libzstd/1.4.8 Warning:guessing pitch as xheight on row 1, block 1 Pec ea a ach Seer OEE PC LU) Pee at Pere EEC Rae ientcee Prete meee ceed aa MEL ig Pace Pace Cra ur ue ecg feta Reset ERTL Ee a Peay |
# ./tesseract /home/root/a.png - -v tesseract 5.3.3 leptonica-1.84.0 libjpeg 6b (libjpeg-turbo 2.1.5.1) : libpng 1.6.39 : zlib 1.2.13 : libopenjp2 2.5.0 Found NEON Found libarchive 3.6.2 zlib/1.2.13 liblzma/5.4.4 bz2lib/1.0.8 libzstd/1.5.4 Found libcurl/8.0.1 OpenSSL/3.1.3 zlib/1.2.13 libidn2/2.3.4 Error in pixReadMemTiff: function not present Error in pixReadMem: tiff: no pix returned Error in pixaGenerateFontFromString: pix not made Error in bmfCreate: font pixa not made Estimating resolution as 132 Warning:guessing pitch as xheight on row 1, block 1 1.MX8MP Evaluation Kit .MxeMP 1.50 GHz 2020-06-07 2848 MB RAM > Console Options wait, 65535 means Select Language <Standard English> Reset > Device Manager > Boot Manager > Boot Maintenance Manager Continue Reset ay=Move Highlight <Enter>=Select Entry |
--dpi 옵션 유용..한가?
'프로그램 사용 > tesseract ocr' 카테고리의 다른 글
tesseract 학습 데이터 (0) | 2023.12.27 |
---|---|
tesseract on arm (0) | 2023.12.26 |
tesseract ocr (0) | 2023.12.21 |
번호판 인식(tesseract) (0) | 2021.10.14 |