Fire Detection System in Python using Opencv | English

แชร์
ฝัง
  • เผยแพร่เมื่อ 27 มิ.ย. 2024
  • In this video, I am going to teach you how to make a fire detection system in python using a computer vision library called openCV. This video guides you through the process of developing a fire detection system in python from scratch.
    First, I will explain the base algorithm of this fire detector system in a simple manner. A little bit of theory will be covered in this video too. This system cannot be applied as the production version since, it is using the HSV color model algorithm to track fire in video frames.
    This fire detection system has the following three main features:-
    • Detect fire in video sequence.
    • Turn on the alarm.
    • Send Email to fire engine services.
    Download Source Code:
    --------------------------------------
    Github: github.com/GunarakulanGunaret... - 🌎
    Social Media Links
    ------------------------------
    ✅ Linkedin:- / gunarakulangunaretnam
    ✅ Facebook:- / gunarakulangunaretnam
    ✅ Instagram:- / gunarakulangunaretnam
    ✅ TikTok:- / gunarakulangunaretnam
    ✅ Twitter:- / gunarakulangr
    ✅ Github:- github.com/gunarakulangunaretnam
    ✅ Kaggle:- kaggle.com/gunarakulangr
  • วิทยาศาสตร์และเทคโนโลยี

ความคิดเห็น • 68

  • @anuragarunedlabadkar8889
    @anuragarunedlabadkar8889 ปีที่แล้ว

    Excellent GR. Great explanation. Very very helpful project. Keep it up.

  • @ishaanbanerjee853
    @ishaanbanerjee853 3 ปีที่แล้ว

    Thankyou so much for this detailed video❤❤

  • @abhishekray3460
    @abhishekray3460 4 ปีที่แล้ว +1

    Great explanation step by step.. Subscribed..love to see more videos in future

  • @kaliyappankartheesan007
    @kaliyappankartheesan007 ปีที่แล้ว

    thanks for helpful in my project. i m really helpful in this video

  • @fernazsthoughts1592
    @fernazsthoughts1592 4 ปีที่แล้ว

    Very useful and good explanation bro.
    Go ahead
    expecting more....

  • @yonasmihretie261
    @yonasmihretie261 3 ปีที่แล้ว

    fantastic explanation sir,go ahead, we expect more videos

  • @awesomeavs3475
    @awesomeavs3475 3 ปีที่แล้ว +4

    bavundhi anna..nijanga bavundhi..

  • @gurnoorsingh7677
    @gurnoorsingh7677 3 ปีที่แล้ว

    a very informative video

  • @muammeroztop9811
    @muammeroztop9811 3 ปีที่แล้ว +2

    Thank you for your tutorial,
    If it is suitable, can you share the video.mov which is used in the program ?

  • @nodemcu6232
    @nodemcu6232 6 หลายเดือนก่อน

    Nice video, thaxs

  • @sonalpawde5557
    @sonalpawde5557 2 ปีที่แล้ว

    Thank you 👍

  • @ahmedsarhan3088
    @ahmedsarhan3088 5 หลายเดือนก่อน

    you are amazing man

  • @user-ql9ty2bf4r
    @user-ql9ty2bf4r ปีที่แล้ว

    thank you so much

  • @ssddjo
    @ssddjo ปีที่แล้ว

    Perfect! on MAC on mac run from terminal not from IDLE

  • @VikashKumar-ty6uy
    @VikashKumar-ty6uy 3 ปีที่แล้ว

    nice explanation ...while executing the code, initially i am getting the sound alarm but after some time it through error like error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize' what to do in this case so that we can have the alarm sound untill fire will remove or some one restart the camera

  • @HieuNguyen-cr1rk
    @HieuNguyen-cr1rk 3 ปีที่แล้ว

    Thanks GR Tech School
    Can I ask you a question? can i play a video without flames?

  • @sonalpawde5557
    @sonalpawde5557 ปีที่แล้ว +1

    "Less secure app access", on, off option has been removed since 30 May 2022. Is there any other way, to get automated email generation.

  • @medbaba1747
    @medbaba1747 3 ปีที่แล้ว +1

    thanks for the video ,i think that we cant generalise this code fore all videos !!!!

    • @grtechinstitute5635
      @grtechinstitute5635  3 ปีที่แล้ว

      Yeah, you can use this code to develop similar applications

  • @bhargavphaneendra3854
    @bhargavphaneendra3854 3 ปีที่แล้ว

    what is activate GR-assistant in command prompt?
    could you please tell me?

  • @SidharthGat
    @SidharthGat 2 ปีที่แล้ว

    Can I use this for real time fire detection?

  • @ibrahimshaikh_a
    @ibrahimshaikh_a 2 ปีที่แล้ว +1

    sir playsound code issue
    this is error
    raise PlaysoundException(exceptionMessage)
    playsound.PlaysoundException:
    Error 277 for command:
    open point.mp3
    A problem occurred in initializing MCI.

  • @KaranSingh-qb4jo
    @KaranSingh-qb4jo 3 ปีที่แล้ว

    i'm having some issues in connection this program though my web cam.
    pls suggest something .

  • @WhyNotTurkei
    @WhyNotTurkei 3 ปีที่แล้ว

    11:51 and blur is not seems on webcam? How can we define this?

  • @aadenfernando4155
    @aadenfernando4155 2 ปีที่แล้ว

    can you explain the cv2 part it shows missing import

  • @artwizard6615
    @artwizard6615 4 ปีที่แล้ว

    Great job

  • @rayhansuwito8068
    @rayhansuwito8068 ปีที่แล้ว

    sir, can you explain how to connectg with cctv please? im still dont get it..please

  • @harshmalik9878
    @harshmalik9878 3 ปีที่แล้ว

    what if i want to take input from a camera placed somewhere else?

  • @user-xx6ni1iu2e
    @user-xx6ni1iu2e 3 ปีที่แล้ว

    Can be use python 3.6..8 and use the same code

  • @meghanasuryan8831
    @meghanasuryan8831 ปีที่แล้ว

    what to add to the email section? recipient and system email !

  • @chintuankith6943
    @chintuankith6943 4 ปีที่แล้ว +3

    Thank you for the tutorial sir!
    What Will Be the Values or program if we convert the Video into RGB format instead of HSV?

    • @grtechinstitute5635
      @grtechinstitute5635  3 ปีที่แล้ว

      We should use HSV for segmenting colors which is very easy to detect

    • @alejandrokenzo4493
      @alejandrokenzo4493 2 ปีที่แล้ว

      I know it's kind of off topic but do anybody know of a good site to stream new series online ?

    • @aaronaugust7904
      @aaronaugust7904 2 ปีที่แล้ว

      @Alejandro Kenzo Flixportal :)

    • @alejandrokenzo4493
      @alejandrokenzo4493 2 ปีที่แล้ว

      @Aaron August thank you, I went there and it seems like a nice service =) I really appreciate it !!

    • @aaronaugust7904
      @aaronaugust7904 2 ปีที่แล้ว

      @Alejandro Kenzo Happy to help :)

  • @muhammadafnan2141
    @muhammadafnan2141 3 ปีที่แล้ว

    can we do machine learning and AI with this like we want it to not detect fire like candles and lighter .etc, which is safe

    • @grtechinstitute5635
      @grtechinstitute5635  3 ปีที่แล้ว

      We can detect candles. Or we can set bigger amount of threshold to detect bigger size of fire

  • @divsrichowdary
    @divsrichowdary 3 ปีที่แล้ว +2

    Sir, can i do this as my mini project?

    • @stark_shiva_
      @stark_shiva_ 7 หลายเดือนก่อน

      Bro , This is my Btech Projects , LOL

  • @mohammadfajrulameerul1846
    @mohammadfajrulameerul1846 4 ปีที่แล้ว +2

    i need to write coding by using RGB and CIE lab model..can anyone help me??

  • @bhopal2743
    @bhopal2743 3 ปีที่แล้ว

    when i run this code i got an error like this plz slve this error
    File "/home/india/anaconda3/lib/python3.8/site-packages/playsound.py", line 95, in _playsoundNix
    Gst.init(None)
    File "", line 5, in init
    TypeError: object of type 'NoneType' has no len()

  • @tonisetiawanjaya370
    @tonisetiawanjaya370 3 ปีที่แล้ว

    sir, how we can deal about the threshold ? i mean, even human face it detected as fire. could you help me ? i want to implement this on UAV actually. thank you very much

    • @cowrna6871
      @cowrna6871 2 ปีที่แล้ว

      im running into the same problem

  • @donnguyen4956
    @donnguyen4956 3 ปีที่แล้ว

    What is the minimum required (memory, and processing power) to run this program?

    • @thetechnicanwithaheart1682
      @thetechnicanwithaheart1682 ปีที่แล้ว

      Quite a bit of CPU power. Best to have GPU processing the video then CPU power from the processor. It's not cheap it will set you back a bit of money.

  • @AtifShafiinheritance
    @AtifShafiinheritance 2 ปีที่แล้ว +2

    thanks, you're funny bru but have to keep speed 0.75

  • @amirulnurhakim313
    @amirulnurhakim313 ปีที่แล้ว

    how to create activate before you run the python

  • @surjitkaur3493
    @surjitkaur3493 3 ปีที่แล้ว

    can we eliminate smok from the frame? if theres smoke in the room

    • @grtechinstitute5635
      @grtechinstitute5635  3 ปีที่แล้ว

      Do you want to make the smoke to disappear from the frame?

  • @agneljohn6093
    @agneljohn6093 3 ปีที่แล้ว +1

    whY its not detecting webcam when i glow the fire

    • @grtechinstitute5635
      @grtechinstitute5635  3 ปีที่แล้ว +1

      Can you share your code with us. Or, can you give us the error message

    • @medbaba1747
      @medbaba1747 3 ปีที่แล้ว +1

      @@grtechinstitute5635 yeah ,me too ,i tryed an other video but its detecting fire before thet the fire appears
      ...... i have used the same parameters that you have used in the video

    • @Gmailonganhcho
      @Gmailonganhcho 3 ปีที่แล้ว

      Can you share your code with me? I have a problem with it.

  • @roopa5760
    @roopa5760 2 ปีที่แล้ว

    related ieee paper please

  • @prabhatkumar4211
    @prabhatkumar4211 3 ปีที่แล้ว

    hello, i am tryung to make a GUI of your fire detection system using flask. Please help me out if you have already made a gui with any other framework.I have some issue with flask.

  • @alkeshrathod6228
    @alkeshrathod6228 2 ปีที่แล้ว

    17:33

  • @RelaxingMusic-mo3px
    @RelaxingMusic-mo3px 3 ปีที่แล้ว

    It is working wrong buddy. Because I don't have any fire but the sound is calling :D :D

  • @akshadjha5125
    @akshadjha5125 3 ปีที่แล้ว

    how can we implement deep leraning model in this same program ?

    • @grtechinstitute5635
      @grtechinstitute5635  3 ปีที่แล้ว +1

      I will make a deep learning based fire detector tutorial soon.

    • @akshadjha5125
      @akshadjha5125 3 ปีที่แล้ว

      Hope you make it early as possible.

    • @chloeclo4467
      @chloeclo4467 2 ปีที่แล้ว

      @@grtechinstitute5635 Please make one

    • @evelynwang9163
      @evelynwang9163 2 ปีที่แล้ว

      @@grtechinstitute5635 please make one