ProofCheck / pdf_comparator.py

Commit History

Add cannabis terms (sativa, cannabidiol) to allowlist and fix indentation
4e0d8d0

Yaz Hobooti commited on

Fix: green boxes (barcodes) now excluded from bottom 115mm area
8b16713

Yaz Hobooti commited on

Fix: revert to working version with proper indentation
7981251

Yaz Hobooti commited on

Enforce bottom-115mm exclusion for spellcheck and barcodes; fix indentation; compile clean
a75a85f

Yaz Hobooti commited on

Fix zxingcpp position handling: support non-iterable Position by reading corner attributes; prevent 'Position is not iterable'
c5725aa

Yaz Hobooti commited on

Fix indentation around box creation and align except block in debug scanner; file compiles
69863ad

Yaz Hobooti commited on

Add missing wrapper find_barcode_boxes_and_info_from_pdf delegating to scan_pdf_barcodes
b90d6b5

Yaz Hobooti commited on

SUCCESS: Fix all syntax errors in pdf_comparator.py
f7c6074

Yaz Hobooti commited on

Rewrite theme section: use only supported Gradio parameters
849a30f

Yaz Hobooti commited on

Fix theme error: remove invalid input_text_color parameter
465c0bc

Yaz Hobooti commited on

Improve visual design: black blocks with black text for better contrast
4c18fba

Yaz Hobooti commited on

Update background color to #99cfe9
b1ec916

Yaz Hobooti commited on

COMPLETE REWRITE: Fix all syntax errors in pdf_comparator.py
767e261

Yaz Hobooti commited on

Fix fourth syntax error: correct indentation of except block in PyMuPDF fallback
dc5710e

Yaz Hobooti commited on

Fix third syntax error: correct indentation of except block in pdf2image loop
e245183

Yaz Hobooti commited on

Fix indentation error: correct if-else block alignment in barcode detection
e482b0b

Yaz Hobooti commited on

Fix second syntax error: correct indentation of except block in PyMuPDF fallback
ee41863

Yaz Hobooti commited on

Fix syntax error: correct indentation of except block in load_pdf_pages
b489434

Yaz Hobooti commited on

Add custom light blue theme to Gradio app
7584764

Yaz Hobooti commited on

Fix spell checking to ignore numbers and add pharmaceutical terms
a127220

Yaz Hobooti commited on

Improve spell checking with comprehensive word lists and better French support
c0f0c6d

Yaz Hobooti commited on

Add bottom 115mm exclusion zone for all analysis
0fa89b4

Yaz Hobooti commited on

Remove numbered labels from error and change markers
223bf48

Yaz Hobooti commited on

Improve spell checking to reduce false positives
507d05e

Yaz Hobooti commited on

Add ChatGPT-recommended barcode debug function
9a98b3f

Yaz Hobooti commited on

Fix barcode detection bugs and improve robustness
b050288

Yaz Hobooti commited on

Implement PDF-based barcode/QR code detection
8cec543

Yaz Hobooti commited on

Fix coordinate mapping for text-based spell checking
93954b8

Yaz Hobooti commited on

Fix Box constructor parameter names in text-based spell checking
0b957fa

Yaz Hobooti commited on

Implement text-based spell checking using PDF text extraction
ad98b73

Yaz Hobooti commited on

Improve OCR performance: add image preprocessing, higher DPI, better Tesseract config
e88aad6

Yaz Hobooti commited on

Fix spell checking issues: remove duplicates, auto-detect languages, handle hyphenated words, optimize allowlist
cdad8f0

Yaz Hobooti commited on

Add multi-page PDF support: process up to 5 pages and combine vertically
def48ce

Yaz Hobooti commited on

Implement improved spell checking system with regex, domain allowlist, and confidence filtering
07087d8

Yaz Hobooti commited on

Fix Unicode encoding error: replace Δ with Delta
4899a48

Yaz Hobooti commited on

Add PyMuPDF fallback and comprehensive poppler packages for PDF processing
b89e133

Yaz Hobooti commited on

Fix poppler PDF processing: add comprehensive packages and multiple path attempts
2a98843

Yaz Hobooti commited on

Fix syntax error: correct indentation of except block
0f0c5dd

Yaz Hobooti commited on

Fix indentation error in barcode handling else block
804bf93

Yaz Hobooti commited on

Fix indentation error in find_misspell_boxes function
2874826

Yaz Hobooti commited on

Fix PDF processing: add poppler dev package and better error handling
bae9f7f

Yaz Hobooti commited on

Fix scikit-image import: footprint_rectangle -> rectangle
47353d6

Yaz Hobooti commited on

Overwrite pdf_comparator.py with new Gradio comparison tool
d4324ba

Yaz Hobooti commited on

Update pdf_comparator.py: latest changes
fa64916

Yaz Hobooti commited on

Increase PDF resolution: DPI from 300 to 600, scaling factors improved for better OCR and barcode detection
e7a28e8

Yaz Hobooti commited on