- Clone the repository
git clone https://github.com/noorkhokhar99/Fire-Detection-using-YOLOv8.git
- Goto the cloned folder.
cd Fire-Detection-using-YOLOv8
- Install the dependecies
pip install -r requirements.txt
- Setting the Directory.
cd ultralytics/yolo/v8/detect
- Run the code with mentioned command below.
python predict.py model='best.pt' source='demo.mp4'
- Video Tutorial Link
YouTube Link