visualization
Browse files
main.py
CHANGED
@@ -16,6 +16,7 @@ def poses(photo):
|
|
16 |
return_vis=True,
|
17 |
thickness=2)
|
18 |
|
|
|
19 |
print("[INFO]: Visualizing results!")
|
20 |
print(os.listdir())
|
21 |
#print("[INFO]: Type of vis is ", type(result_generator['visualization']))
|
@@ -24,7 +25,8 @@ def poses(photo):
|
|
24 |
# The MMPoseInferencer API employs a lazy inference approach,
|
25 |
# creating a prediction generator when given input
|
26 |
#result = next(result_generator)
|
27 |
-
return
|
|
|
28 |
|
29 |
# # specify detection model by alias
|
30 |
# # the available aliases include 'human', 'hand', 'face', 'animal',
|
|
|
16 |
return_vis=True,
|
17 |
thickness=2)
|
18 |
|
19 |
+
print(os.listdir())
|
20 |
print("[INFO]: Visualizing results!")
|
21 |
print(os.listdir())
|
22 |
#print("[INFO]: Type of vis is ", type(result_generator['visualization']))
|
|
|
25 |
# The MMPoseInferencer API employs a lazy inference approach,
|
26 |
# creating a prediction generator when given input
|
27 |
#result = next(result_generator)
|
28 |
+
return photo
|
29 |
+
|
30 |
|
31 |
# # specify detection model by alias
|
32 |
# # the available aliases include 'human', 'hand', 'face', 'animal',
|