ocrmypdf-rs
A Rust library that adds “layers” of text to images in PDFs, making scanned image PDFs searchable using ocrmypdf, which is a Python application and library.
Prerequisites
For everything to work correctly, you need to have it installed on your OS ocrmypdf.
Example
Debian or Ubuntu users can simply use the following:
sudo apt install ocrmypdf
For more information on how to install on different OS, see the installation documents.