Upload 3 files
Browse files
app.py
CHANGED
@@ -6,7 +6,8 @@ from ultralytics import YOLO
|
|
6 |
import os
|
7 |
|
8 |
# Model Initialization
|
9 |
-
model = YOLO('
|
|
|
10 |
|
11 |
# Function to detect actions in images
|
12 |
def detect_action(image_path):
|
|
|
6 |
import os
|
7 |
|
8 |
# Model Initialization
|
9 |
+
model = YOLO(r'C:\Users\SRUTHI\Desktop\python-app\yolo11l.pt')
|
10 |
+
# Adjust the path to your YOLOv11 model
|
11 |
|
12 |
# Function to detect actions in images
|
13 |
def detect_action(image_path):
|