How to extract text from a PDF of scanned pages

PDFs are often a compilation of scanned pages or still images (.png, .jpg, tiff, etc). And so even opening them with Adobe Acrobat might not allow you to c