OCR:
apt-get install libleptonica-dev apt-get install tesseract-ocr apt-get install tesseract-ocr-pol apt-get install poppler-utils
http://support.edokumenty.eu/download/public_html/deployment/components/poppler-0.41.0_x86.7z
http://support.edokumenty.eu/download/public_html/deployment/components/tesseract.7z