https://github.com/nidhishrathod/firedetection
Fire Detection using yolov8 model and image/video processing using basic computer vision techniques.
https://github.com/nidhishrathod/firedetection
ai computer-vision image-video-processing python yolov8
Last synced: 11 months ago
JSON representation
Fire Detection using yolov8 model and image/video processing using basic computer vision techniques.
- Host: GitHub
- URL: https://github.com/nidhishrathod/firedetection
- Owner: NidhishRathod
- Created: 2024-11-12T09:26:27.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2025-01-26T14:17:06.000Z (over 1 year ago)
- Last Synced: 2025-03-31T01:48:04.252Z (over 1 year ago)
- Topics: ai, computer-vision, image-video-processing, python, yolov8
- Language: Python
- Homepage:
- Size: 5.46 MB
- Stars: 0
- Watchers: 1
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Fire Detection System
This Fire Detection System uses a combination of fire detection, optical flow analysis, edge detection, and texture/contour analysis to detect fire in videos. It can process video files or stream from a webcam.
## Features
- **Fire Detection**: Uses YOLOv5 to detect fire in video streams.
- **Optical Flow Analysis**: Analyzes the motion of pixels in the video to detect any unusual movement, which could indicate fire.
- **Edge Detection**: Utilizes Canny edge detection to enhance fire contours.
- **Texture & Contour Analysis**: Reduces false positives by analyzing the texture and contours in the video frames.
- **User Interface**: A simple GUI that allows users to select a video file or start fire detection using a webcam.
## Requirements
- Python 3.x
- OpenCV
- Ultralytics YOLOv5
- cvzone
- tkinter (for the GUI)