Refactor barcode extraction and enhance PDF processing capabilities
- Added extract_barcodes_from_pdf function to read barcodes from PDF files using fitz. - Updated read_datamatrix_zxing to return both the barcode text and its Base64 representation. - Modified main execution block to include PDF barcode extraction. - Improved image loading for better compatibility with zxing. - Updated requirements.txt to include pymupdf for PDF processing.
This commit is contained in:
@@ -3,4 +3,5 @@ zxing-cpp
|
||||
reportlab
|
||||
pandas
|
||||
treepoem
|
||||
openpyxl
|
||||
openpyxl
|
||||
pymupdf
|
||||
Reference in New Issue
Block a user