Commit 2abbb664 authored by lucas_miranda's avatar lucas_miranda
Browse files

Added testing examples for multi animal deepof pipeline

parent 8f413985
Pipeline #91463 canceled with stage
in 11 minutes and 48 seconds
......@@ -602,11 +602,13 @@ def tag_rulebased_frames(
else:
return 150, 255, 150
zipped_pos = list(zip(
animal_ids,
[corners["downleft"], corners["downright"]],
[corners["upleft"], corners["upright"]],
))
zipped_pos = list(
zip(
animal_ids,
[corners["downleft"], corners["downright"]],
[corners["upleft"], corners["upright"]],
)
)
if len(animal_ids) > 1:
......@@ -661,7 +663,9 @@ def tag_rulebased_frames(
write_on_frame(
str(
np.round((frame_speeds if len(animal_ids) == 1 else frame_speeds[_id]), 2)
np.round(
(frame_speeds if len(animal_ids) == 1 else frame_speeds[_id]), 2
)
)
+ " mmpf",
up_pos,
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment