Commit Graph
5 Commits
Author SHA1 Message Date
myhloli e1be7da644 refactor(magic_pdf): switch to pdfminer for invalid character detection
- Replace MuPDF with pdfminer for detecting invalid characters in PDFs
- Uncomment and update the detect_invalid_chars function to use pdfminer
- Update the check_invalid_chars function in pdf_meta_scan.py to use the new implementation
2024-12-11 01:41:35 +08:00
myhloli ac88815620 refactor(pdf_check): improve character detection using PyMuPDF
- Replace pdfminer with PyMuPDF for character detection
- Implement new method detect_invalid_chars_by_pymupdf
- Update check_invalid_chars in pdf_meta_scan.py to use new method
- Add __replace_0xfffd function in pdf_parse_union_core_v2.py to handle special characters
- Remove unused imports and update requirements.txt
2024-11-28 22:34:23 +08:00
赵小蒙 8998380da5 update check invalid_chars algorithm to improve accuracy 2024-06-20 11:18:15 +08:00
赵小蒙 35a700da94 update annotate 2024-06-19 16:53:51 +08:00
赵小蒙 df14c61f6f update: Enhance the capability to detect garbled document issues 2024-06-19 16:03:21 +08:00