Zmiany pomiędzy wersją 2 and wersją 3 dla DeployerGuide/Customization/OCRInvoice

Pokaż
Ignoruj:
Data i czas:
04/05/18 15:07:30 (6 years temu)
Autor:
jpo (IP: 83.144.106.170)
Komentarz:

--

Legend:

Bez zmian
Dodane
Usunięte
Zmienione
  • DeployerGuide/Customization/OCRInvoice

    v2 v3  
     1==Instalacja OCRa dla faktur w systemie eDokumenty 
     2 
     3Poniższa instrukcja przedstawia uruchomienie mechanizmu OCRowania faktur w systemie eDokumenty działających na systemie Linux. 
     4 
     5Poniższa instrukcja została przygotowana na bazie systemu Linux Debian8 
     6{{{ 
     7apt-get update 
     8}}} 
     9 
     10{{{ 
    111apt-get install autoconf-archive automake g++ libtool libleptonica-dev pkg-config 
    212apt-get install git 
     13apt-get install poppler-utils 
     14apt-get install libjpeg-dev libtiff-dev libpng-dev 
     15}}} 
    316 
    4 # pdfimages 
    5 apt-get install poppler-utils 
     17Jeśli pakiety leptonica 1.74+ nie są dostępne w dystrybucji w takim przypadku kompilujemy ze źródeł 
    618 
    7 apt-get install libjpeg-dev libtiff-dev libpng-dev 
    8  
    9 # if version 1.74+ of leptonica is not available in distro then compile from sources 
     19{{{ 
    1020mkdir /usr/lib/leptonica 
    1121cd /usr/lib/leptonica 
     
    1727make 
    1828make install 
    19  
     29}}} 
     30{{{ 
    2031mkdir /usr/lib/tesseract 
    2132cd /usr/lib/tesseract 
     
    2738make install 
    2839ldconfig 
     40}}} 
    2941 
     42{{{ 
    3043cd /usr/local/share/tessdata/ 
    3144wget https://github.com/tesseract-ocr/tessdata_fast/raw/master/script/Latin.traineddata 
     
    3346wget https://github.com/tesseract-ocr/tessdata_fast/raw/master/eng.traineddata 
    3447wget https://github.com/tesseract-ocr/tessdata_fast/raw/master/osd.traineddata 
     48}}} 
     49 
     50 
     51 
     52define('USE_NEW_OCR_FOR_EINVOICE', TRUE);