Spaces:
Running
Running
Update firedetection.py
Browse files- firedetection.py +1 -0
firedetection.py
CHANGED
@@ -3,6 +3,7 @@
|
|
3 |
from collections import defaultdict
|
4 |
import cv2
|
5 |
from ultralytics import YOLO
|
|
|
6 |
|
7 |
def detect_fire_in_video(
|
8 |
input_video_path: str,
|
|
|
3 |
from collections import defaultdict
|
4 |
import cv2
|
5 |
from ultralytics import YOLO
|
6 |
+
import torch
|
7 |
|
8 |
def detect_fire_in_video(
|
9 |
input_video_path: str,
|