File size: 907 Bytes
90c6b42
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
# PDF Processing Dependencies for ATOM

# Core PDF Processing
PyPDF2>=3.0.0,<4.0.0
pdf2image>=1.16.3,<2.0.0
pillow>=10.0.0,<11.0.0

# OCR Libraries
pytesseract>=0.3.10,<1.0.0
easyocr>=1.7.0,<2.0.0

# AI Vision (Optional - for advanced image comprehension)
openai>=1.0.0,<2.0.0

# Image Processing
numpy>=1.24.0,<2.0.0
opencv-python>=4.8.0,<5.0.0

# Utility Libraries
python-multipart>=0.0.6,<1.0.0
httpx>=0.24.0,<1.0.0

# Note: Tesseract-OCR must be installed separately on the system
# Ubuntu/Debian: sudo apt-get install tesseract-ocr
# macOS: brew install tesseract
# Windows: Download from GitHub releases

# Note: Poppler must be installed for pdf2image
# Ubuntu/Debian: sudo apt-get install poppler-utils
# macOS: brew install poppler
# Windows: Download from poppler-windows releases
```

Now let me create a comprehensive README file for the PDF processing module: