ultralytics / yolov5

YOLOv5 🚀 in PyTorch > ONNX > CoreML > TFLite
https://docs.ultralytics.com
GNU Affero General Public License v3.0
49.77k stars 16.12k forks source link

Real time image recognition in Google Colab problem #13326

Open mamasha-bt opened 2 hours ago

mamasha-bt commented 2 hours ago

Search before asking

Question

I have trained YOLOv5 model in Google Colab on custom dataset, have got access to my webcam, but I don't know how to run object detection in real time from webcam in Google Colab. Please, help

Additional

No response

UltralyticsAssistant commented 2 hours ago

👋 Hello @mamasha-bt, thank you for your interest in YOLOv5 🚀!

I'm here with an automated response to assist you. An Ultralytics engineer will follow up soon. In the meantime, you can explore our ⭐️ Tutorials, where you'll find guides on Custom Data Training and more.

If this is a 🐛 Bug Report, please ensure to provide a minimum reproducible example to help diagnose the issue.

For your custom training ❓ Question, I recommend sharing more details, such as any error messages or logs, to get the most accurate help.

Requirements

Python>=3.8.0 with all requirements.txt installed, including PyTorch>=1.8. Start by running:

git clone https://github.com/ultralytics/yolov5  # clone
cd yolov5
pip install -r requirements.txt  # install

Environments

YOLOv5 can run in these verified environments, complete with necessary dependencies:

Status

YOLOv5 CI

A green badge indicates all YOLOv5 GitHub Actions CI tests are currently successful, confirming the correct operation of YOLOv5.

Introducing YOLOv8 🚀

Check out YOLOv8, our latest state-of-the-art model designed for object detection, image segmentation, and classification. Learn more in the YOLOv8 Docs and get started:

pip install ultralytics

Feel free to provide additional details if needed!