output
Browse files
main.py
CHANGED
@@ -30,9 +30,6 @@ track_model = YOLO('yolov8n.pt') # Load an official Detect model
|
|
30 |
|
31 |
# ultraltics
|
32 |
|
33 |
-
# Defining inferencer models to lookup in function
|
34 |
-
inferencers = {"Estimate human 2d poses":human, "Estimate human 2d hand poses":hand, "Estimate human 3d poses":human3d, "Detect and track":track_model}
|
35 |
-
|
36 |
print("[INFO]: Downloaded models!")
|
37 |
|
38 |
def check_extension(video):
|
@@ -41,7 +38,8 @@ def check_extension(video):
|
|
41 |
# extract the file name and extension
|
42 |
file_name = split_tup[0]
|
43 |
file_extension = split_tup[1]
|
44 |
-
|
|
|
45 |
if file_extension is not ".mp4":
|
46 |
clip = moviepy.VideoFileClip(video)
|
47 |
|
|
|
30 |
|
31 |
# ultraltics
|
32 |
|
|
|
|
|
|
|
33 |
print("[INFO]: Downloaded models!")
|
34 |
|
35 |
def check_extension(video):
|
|
|
38 |
# extract the file name and extension
|
39 |
file_name = split_tup[0]
|
40 |
file_extension = split_tup[1]
|
41 |
+
print(file_extension)
|
42 |
+
|
43 |
if file_extension is not ".mp4":
|
44 |
clip = moviepy.VideoFileClip(video)
|
45 |
|