https://tesseract-ocr.github.io/tessdoc/Installation.html

sudo apt install tesseract-ocr sudo apt install libtesseract-dev

https://connectwww.com/convert-pdf-to-image-in-ubuntu-linux-with-pdftoppm/62924/

sudo apt install poppler-utils