Update requirements.txt
Browse files- requirements.txt +21 -2
requirements.txt
CHANGED
|
@@ -1,5 +1,24 @@
|
|
| 1 |
-
|
| 2 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 3 |
torch
|
|
|
|
| 4 |
numpy
|
| 5 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
## Core PDF and Image Processing
|
| 2 |
+
# PyMuPDF (fitz) for PDF handling
|
| 3 |
+
PyMuPDF
|
| 4 |
+
# OpenCV for image manipulation (cv2 used in pixmap_to_numpy)
|
| 5 |
+
opencv-python
|
| 6 |
+
|
| 7 |
+
## Deep Learning / Vision Frameworks
|
| 8 |
+
# PyTorch (torch) is the core deep learning library
|
| 9 |
torch
|
| 10 |
+
# NumPy for array/matrix operations
|
| 11 |
numpy
|
| 12 |
|
| 13 |
+
## Computer Vision / Detection
|
| 14 |
+
# Ultralytics YOLO framework for object detection
|
| 15 |
+
# Note: The specific version may depend on your environment (e.g., CUDA)
|
| 16 |
+
ultralytics
|
| 17 |
+
|
| 18 |
+
## Model and Utility Libraries
|
| 19 |
+
# TorchCRF for Conditional Random Field (used in the script imports)
|
| 20 |
+
TorchCRF
|
| 21 |
+
|
| 22 |
+
## General Utilities
|
| 23 |
+
# Pillow for basic image handling (PIL import)
|
| 24 |
+
Pillow
|