Implement text-based spell checking using PDF text extraction
Yaz Hobooti
ad98b73
- Add extract_pdf_text() function to extract text directly from PDFs using PyMuPDF
- Add find_misspell_boxes_from_text() function that analyzes PDF text with coordinate mapping
- Update compare_pdfs() to use text-based spell checking instead of OCR
- Maintain fallback to OCR-based approach if needed
- Fix missing return statement in decode_with_variants() function
- Spell checking now operates on original PDF text for better accuracy and performance
Force rebuild: 2025-09-17T15:42:00Z
Yaz Hobooti
7f42e9a
AGGRESSIVE FORCE REBUILD: Deploy OCR improvements to HF Space
Overwrite pdf_comparator.py with new Gradio comparison tool
Yaz Hobooti
d4324ba
Update .gitignore: ignore helper script and duplicate file
Yaz Hobooti
cc9bdee
Add .gitignore and Hugging Face model card
Yaz Hobooti
c328680
Update pdf_comparator.py: latest changes
Yaz Hobooti
fa64916
Update to Gradio-based PDF comparison tool with advanced features
Yaz Hobooti
37c62cf
- Replace Flask app with modern Gradio interface
- Add comprehensive PDF analysis features:
- Visual difference detection with bounding boxes
- OCR and spell checking capabilities
- Barcode/QR code detection and validation
- CMYK color analysis for print workflows
- Update dependencies for compatibility
- Add detailed README for Hugging Face Space