- Implemented OCR functionality using pytesseract for image and PDF text extraction. - Added Background Removal service using rembg for image processing. - Developed PDF Editor service for applying text annotations to PDF files. - Created corresponding API routes for OCR, Background Removal, and PDF Editor. - Added frontend components for OCR and Background Removal tools. - Integrated feature flagging for new tools, ensuring they are disabled by default. - Implemented comprehensive unit tests for OCR service, PDF editor, and background removal. - Updated documentation to reflect new features and usage instructions. - Added translations for new features in English, Arabic, and French.
49 lines
730 B
Plaintext
49 lines
730 B
Plaintext
# Core Framework
|
|
flask>=3.0,<4.0
|
|
flask-cors>=4.0,<5.0
|
|
flask-limiter[redis]>=3.5,<4.0
|
|
flask-talisman>=1.1,<2.0
|
|
gunicorn>=22.0,<23.0
|
|
python-dotenv>=1.0,<2.0
|
|
|
|
# Task Queue
|
|
celery[redis]>=5.3,<6.0
|
|
redis>=5.0,<6.0
|
|
flower>=2.0,<3.0
|
|
|
|
# File Processing
|
|
Pillow>=10.0,<12.0
|
|
python-magic>=0.4.27,<1.0
|
|
ffmpeg-python>=0.2,<1.0
|
|
|
|
# PDF Processing
|
|
PyPDF2>=3.0,<4.0
|
|
reportlab>=4.0,<5.0
|
|
pdf2image>=1.16,<2.0
|
|
|
|
# OCR
|
|
pytesseract>=0.3.10,<1.0
|
|
|
|
# Background Removal
|
|
rembg>=2.0,<3.0
|
|
onnxruntime>=1.16,<2.0
|
|
|
|
# AWS
|
|
boto3>=1.34,<2.0
|
|
|
|
# HTTP Client
|
|
requests>=2.31,<3.0
|
|
|
|
# Security
|
|
werkzeug>=3.0,<4.0
|
|
|
|
# Testing
|
|
pytest>=8.0,<9.0
|
|
pytest-flask>=1.3,<2.0
|
|
pytest>=7.4.0
|
|
pytest-cov>=4.1.0
|
|
pytest-mock>=3.11.0
|
|
requests-mock>=1.11.0
|
|
fakeredis>=2.18.0
|
|
httpx>=0.24.0
|