# requirements.txt — AID 728 Traffic Rule Violation Detection # Install with: pip install -r requirements.txt # ── Core ML / Vision ───────────────────────────────────────────────────────── torch torchvision numpy<2.0.0 Pillow # ── OpenCV ──────────────────────────────────────────────────────────────────── opencv-python-headless # ── Object Detection ────────────────────────────────────────────────────────── ultralytics==8.4.51 dill==0.4.1 # ── Depth Estimation ────────────────────────────────────────────────────────── transformers>=5.12.0 safetensors==0.7.0 tokenizers==0.22.2 # ── OCR (PaddleOCR 3.5.0 + PaddlePaddle) ───────────────────────────────────── paddlepaddle==3.3.1 paddleocr==3.5.0 # ── PaddleOCR transitive deps ───────────────────────────────────────────────── pyclipper==1.4.0 shapely==2.1.2 lmdb==2.2.0 imgaug==0.4.0 scikit-image==0.25.2 python-docx==1.2.0 fire==0.7.1 beautifulsoup4==4.14.3 lxml==6.1.0 RapidFuzz==3.14.5 # ── Utilities ───────────────────────────────────────────────────────────────── requests==2.34.2 tqdm==4.67.3 PyYAML==6.0.2 regex scipy packaging filelock==3.29.0 gradio