Deploy YOLOv5 detection with Streamlit
博文地址: https://xugaoxiang.com/2021/08/27/yolov5-streamlit/
直接访问 https://share.streamlit.io/xugaoxiang/yolov5-streamlit/main/main.py
# 本地安装的话,请将opencv-python-headless改为opencv-python
pip install -r requirements.txt
如果有GPU
的话,将torch
替换成gpu
版本可加速检测
streamlit run main.py
图片检测
视频检测