torch torchvision torchaudio gradio ultralytics opencv-python-headless # Use headless version for servers matplotlib # If used by ultralytics plotting or your code ftfy # CLIP dependency regex # CLIP dependency git+https://github.com/openai/CLIP.git # Install CLIP directly Pillow # PIL dependency for CLIP/images # Add any other specific libraries you might need pyyaml # Usually needed by ultralytics/detectron2 indirectly