This Flask application converts PDFs (both text-based and scanned) into HTML with selectable text. Text-based PDFs → extracted as HTML directly. Scanned PDFs → OCR text is overlaid on page images so ...