Spaces:
Sleeping
Sleeping
Update core_pipeline.py
Browse files- core_pipeline.py +1 -1
core_pipeline.py
CHANGED
@@ -9,7 +9,7 @@ import matplotlib.pyplot as plt
|
|
9 |
|
10 |
|
11 |
# Load YOLOv8 model (you can replace with your custom tree model)
|
12 |
-
model = YOLO("./data/
|
13 |
|
14 |
|
15 |
def extract_frames(video_path, interval=30):
|
|
|
9 |
|
10 |
|
11 |
# Load YOLOv8 model (you can replace with your custom tree model)
|
12 |
+
model = YOLO("./data/best.pt") # Replace with tree-trained model
|
13 |
|
14 |
|
15 |
def extract_frames(video_path, interval=30):
|