Fire Detection YOLOv8 with Python (real time & custom data)

preview_player
Показать описание
How to train yolo model on your custom dataset?

Couple words about state of the art yolov8! Dataset is not mine, but you can find it here:

Notebook (script) source code:

#machinelearning #pythonprogramming #yolov8 #python #pythontutorial #machinelearning #objectdetection #neuralnetworks
Рекомендации по теме
Комментарии
Автор

Thanks for the video, very good explanation!!!

rodrigocorte
Автор

Thanks For This Tutorial Hope You Do More💚

AnimoGameDev
Автор

Thank you sir . done a greate job sir☺

tsbcveu
Автор

Great video! Thanks for sharing it! Here's a question: could the small Yolo model be used directly on an ESP32Cam to detect a fire and set an alarm (as already covered in the comments below), send a message, etc.?

RcS
Автор

My image folders were in different spots than roboflow uses now so I changed the data.yaml file to:
test: ./test/images
train: ./train/images
val: ./valid/images

LFTY
Автор

Why do you do the training in google collab and the prediction in your local environment ?

karimmerchaoui
Автор

Does holding a plastic spoon give a false positive

coolghoul
Автор

I have changed the path according to my folders in google colab, but this line of code " !yolo task=detect mode=train model=yolov8s.pt epochs=1 imgsz=640 plots=True" is showing the error like this "/bin/bash: line 1: yolo: command not found "
plz tell me how to deal with it

aurgon_
Автор

give me the url of yolov8 in colab please

tabbabiyosr
Автор

great video! can i used the same coding on jupyter notebook?

MuhamadNoorIman
Автор

How to download the run file to the device?

kingclash
Автор

How come when downloading best.pt the main.py file is available

cuongmanh
Автор

where is best.pt file i can't find it

kingclash
Автор

Hi bro, thanks for responding so quickly!!
I've tried several times and I can't get an alarm to sound when fire is detected.
I used this code, but it doesn't work.
Do you have any suggestions?

# Function for fire detection and sound alert
def detect_fire_and_alert():
# Initialize the YOLO model
model = YOLO('best.pt')

# Performs continuous fire detection
whileTrue:
# Perform the prediction
results = model.predict(source=0, imgsz=320, conf=0.6, show=True)

# Checks for fire detections
for detection in results.pred:
if 'fire' in detection['names']:
# If fire is detected, plays an alert sound
playsound("alarm_sound.mp3")
break # Breaks the loop when fire is detected


# Function call for fire detection and audible alert
detect_fire_and_alert()

I would be very grateful if you could help me.
I need your help!!

rodrigocorte
Автор

showing the error of API KEy
, when i paste the snippet from roboflow, , ,

aurgon_
Автор

Hey !! Is there any way to sound an alarm when a fire is detected? Please respond, I really need your help!!

rodrigocorte
Автор

I've followed what's in the video but I always fail

bangipin
join shbcf.ru