In those cases, the free and open source OCRmyPDF is perfect to have around. This is a command line application that quickly ...
The strikethrough effect only works on searchable PDF documents. It doesn’t work on scanned PDFs. So, if the entire PDF is scanned, its pages will have images only (even if there is text content).