flowchart-to-text-v1 / requirements.txt
venkatviswa's picture
spell fix
cfb2275 verified
# ===============================
# πŸ“¦ 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)
# πŸ€– 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
accelerate #needed for LLM GPU Acceleration