Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/MuhammadMoinFaisal/FireDetectionYOLOv8
Fire Detection using YOLOv8
https://github.com/MuhammadMoinFaisal/FireDetectionYOLOv8
firedetection object-detection opencv opencv-library opencv-python pytorch yolo yolov8
Last synced: 12 days ago
JSON representation
Fire Detection using YOLOv8
- Host: GitHub
- URL: https://github.com/MuhammadMoinFaisal/FireDetectionYOLOv8
- Owner: MuhammadMoinFaisal
- Created: 2023-02-01T13:47:04.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2023-02-01T16:53:26.000Z (over 1 year ago)
- Last Synced: 2024-02-29T10:33:50.023Z (4 months ago)
- Topics: firedetection, object-detection, opencv, opencv-library, opencv-python, pytorch, yolo, yolov8
- Language: Python
- Homepage:
- Size: 10.8 MB
- Stars: 80
- Watchers: 4
- Forks: 25
- Open Issues: 3
-
Metadata Files:
- Readme: README.md
- Contributing: CONTRIBUTING.md
Lists
- awesome-yolo-object-detection - MuhammadMoinFaisal/FireDetectionYOLOv8
README
Fire Detection using YOLOv8
## Steps to run Code
- Clone the repository
```
git clone https://github.com/MuhammadMoinFaisal/FireDetectionYOLOv8.git
```
- Goto the cloned folder.
```
cd FireDetectionYOLOv8
```
- Install the dependecies
```
pip install -e '.[dev]'```
- Setting the Directory.
```
cd ultralytics/yolo/v8/detect
```- Downloading a Weights from the Google Drive
```
gdown "https://drive.google.com/uc?id=1dCMIamv2XI7xx8ExWNXswDRBfvHhSKfH&confirm=t"
```
- Downloading a Sample Video from the Google Drive
```
gdown "https://drive.google.com/uc?id=1w0SLc5DqdY4s2KRQ9rw944_dx2UwRk5H&confirm=t"
gdown "https://drive.google.com/uc?id=1AVDY5a13cGdTd_0Wj1p93_xiFFEBcxIN&confirm=t"```
- Run the code with mentioned command below.
```
!python predict.py model='best.pt' source='forestfire4.mp4'
```### RESULTS
#### Fire Detection
![](./figure1.png)#### Fire Detection
![](./figure3.png)
### Watch the Complete Step by Step Explanation
- Video Tutorial Link [`YouTube Link`](https://www.youtube.com/watch?v=hQyG5qf9TB0&t=5s)
[![Watch the Complete Tutorial for the Step by Step Explanation](https://img.youtube.com/vi/hQyG5qf9TB0/0.jpg)]([https://www.youtube.com/watch?v=StTqXEQ2l-Y](https://www.youtube.com/watch?v=hQyG5qf9TB0))