Giter VIP home page Giter VIP logo

ytl0623 / yolov8-fire-car-and-smoke-detection Goto Github PK

View Code? Open in Web Editor NEW
6.0 1.0 0.0 243.12 MB

Deep Learning-Based Fire Vehicle Detection and Real-Time Warning System 基於深度學習的火災車輛偵測及即時預警系統

Home Page: https://www.freeway2023.tw/

License: GNU Affero General Public License v3.0

Python 55.78% Shell 0.27% Jupyter Notebook 43.95%
fire-detection object-detection warning-system yolov8 computer-vision smoke-detection

yolov8-fire-car-and-smoke-detection's Introduction

Deep Learning-Based Fire Vehicle Detection and Real-Time Warning System

You can run code with your own PC/Notebook/... or on Google Colab. Open In Colab

Create a virtual environment

conda create -n [NAME] python==3.9

Start the environment

conda activate [NAME]

Clone Repository

git clone https://github.com/ytl0623/yolov8-fire-car-and-smoke-detection.git

Go to the cloned folder

cd yolov8-fire-car-and-smoke-detection

Install the dependencies

pip install -r requirements.txt

Go to the working directory

cd ultralytics/yolo/v8/detect/

Modify E-mail address

Change your desire email address in send_email.py.

your_email =
your_password =
send_email_to =

Execute inference

Change the input of the image/video/rtsp/..., what ever you want.

python main.py

Results

The output image is like the below. results

If the model detected the fire and smoke, the command line shows output Warning Fire!!! Send Email! and it will send email to desire person with the image contains bounding box. 螢幕擷取畫面 2023-08-15 174042

Reference

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.