OCRmyPDF

Simple example

ocrmypdf input.pdf output.pdf

OCR languages other than English

ocrmypdf -l fra input.pdf output.pdf

Install additional language packs

apt-cache search tesseract-ocr