See the YOLOv5 Docs for full documentation on training, testing and deployment.
Install
Clone repo and install requirements.txt in a Python>=3.7.0 environment, including PyTorch>=1.7.
git clone https://github.com/Aaris-Kazi/Tool-Detection-using-YOLO.git # clone
cd Tool-Detection-using-YOLO
pip install -r requirements.txt # install
Run the Code
For Using Laptop camerapython app.py --weight latest.pt --img 100 --conf 0.55 --source 0
For Mobile Stream using Ip camera
python app.py --weight latest.pt --img 100 --conf 0.55 --source http://192.168.0.102:8080/video