Additionally, some PDFs (like textbooks) insert intentionally mangled embedded text to prevent copying/pasting. You can rasterize them and push them through pdfsandwich/ocrmypdf to wipe these hidden layers and re-ocr them.
Haven't done it in a while, but looks like this should work: https://askubuntu.com/a/845119
Obviously replace convert with mogrify ./* after backing them up