Yaz Hobooti commited on
Commit
2c283e4
·
1 Parent(s): 698f965

Add proper dependencies as requested by ChatGPT

Browse files

- Updated requirements.txt with proper versions and dependencies
- Added PyMuPDF>=1.24, Pillow>=10, zxing-cpp>=2.1
- Added pyzbar>=0.1.9, pylibdmtx>=0.1.10
- Added opencv-python-headless>=4.9, regex>=2023.10.3
- Created packages.txt with libzbar0 and libdmtx0a
- Improved barcode detection capabilities with robust dependencies

Files changed (2) hide show
  1. packages.txt +2 -0
  2. requirements.txt +8 -10
packages.txt ADDED
@@ -0,0 +1,2 @@
 
 
 
1
+ libzbar0
2
+ libdmtx0a
requirements.txt CHANGED
@@ -1,20 +1,18 @@
1
- Flask==2.3.3
2
- Werkzeug==2.3.7
3
- PyPDF2==3.0.1
 
 
 
 
 
4
  pdf2image==1.16.3
5
- Pillow==10.0.1
6
- opencv-python==4.8.1.78
7
  pytesseract==0.3.10
8
- pyzbar==0.1.9
9
  pyspellchecker==0.8.3
10
- nltk==3.8.1
11
  numpy==1.24.3
12
  scikit-image==0.21.0
13
  matplotlib==3.7.2
14
  pandas==2.0.3
15
  reportlab==4.0.4
16
- regex==2025.9.1
17
- gradio==4.44.1
18
- PyMuPDF==1.23.8
19
  # Force rebuild - 2025-09-18T02:10:00Z
20
  # HF NOT RESPONDING - EMERGENCY REBUILD - 2025-09-18T02:15:00Z
 
1
+ PyMuPDF>=1.24
2
+ Pillow>=10
3
+ zxing-cpp>=2.1 # ZXing-C++ bindings (multi-symbology, very robust)
4
+ pyzbar>=0.1.9 # ZBar bindings (needs libzbar0 from apt)
5
+ pylibdmtx>=0.1.10 # DataMatrix; wheels usually include libdmtx, but see packages.txt below
6
+ opencv-python-headless>=4.9
7
+ regex>=2023.10.3
8
+ gradio==4.44.1
9
  pdf2image==1.16.3
 
 
10
  pytesseract==0.3.10
 
11
  pyspellchecker==0.8.3
 
12
  numpy==1.24.3
13
  scikit-image==0.21.0
14
  matplotlib==3.7.2
15
  pandas==2.0.3
16
  reportlab==4.0.4
 
 
 
17
  # Force rebuild - 2025-09-18T02:10:00Z
18
  # HF NOT RESPONDING - EMERGENCY REBUILD - 2025-09-18T02:15:00Z