flowchart-to-text / requirements.txt
Venkat V
updated with fixes to all modules
152df72
raw
history blame
1.43 kB
# ===============================
# πŸ“¦ Requirements for Flowchart-to-English App
# ===============================
# 🌐 Web App Frameworks
streamlit # UI interface for uploading images and viewing output
fastapi # Backend API for image parsing
uvicorn[standard] # ASGI server to serve FastAPI app
# πŸ” Communication and File Upload
requests # For Streamlit-to-FastAPI HTTP calls
python-multipart # Enables file uploads in FastAPI
# πŸ–Ό Image Processing
pillow # PIL image handling
opencv-python-headless # OpenCV without GUI dependencies
numpy # Core image array operations
# πŸ” OCR & Text Processing
easyocr # GPU-capable OCR engine
textblob # Optional: lightweight text post-processing (optional)
# --- Doctr dependencies (torch-based) ---
python-doctr[torch]
onnxruntime # Required backend for Doctr inference
# πŸ€– Object Detection and Language Models
ultralytics # YOLOv8/v9 detection (loads .pt models)
torch # Backend for YOLO and EasyOCR
transformers # Optional: used for text summarization (LLMs)
# πŸ“ Geometry Utilities
shapely # Geometry operations for arrow-head box logic
# βœ… Optional Debug Tools (Uncomment if needed)
# matplotlib # For plotting / bounding box debug