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