Skip to content

Commit

Permalink
postprocessing: hailo: Add multi-network example stage
Browse files Browse the repository at this point in the history
hailo_pose_inf_fl.json run object detection, pose estimation,
and facial landmarking networks simultaneously.

Signed-off-by: Naushir Patuck <[email protected]>
  • Loading branch information
naushir committed Nov 1, 2024
1 parent 5f3fe10 commit 0e2426c
Show file tree
Hide file tree
Showing 2 changed files with 43 additions and 0 deletions.
42 changes: 42 additions & 0 deletions assets/hailo_pose_inf_fl.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,42 @@
{
"rpicam-apps":
{
"lores":
{
"width": 640,
"height": 640,
"format": "rgb",
"par": true
}
},

"hailo_yolo_pose":
{
"hef_file": "/usr/share/hailo-models/yolov8s_pose_h8.hef"
},

"hailo_yolo_inference":
{
"hef_file": "/usr/share/hailo-models/yolov8s_h8.hef",
"max_detections": 20,
"threshold": 0.4,

"temporal_filter":
{
"tolerance": 0.1,
"factor": 0.75,
"visible_frames": 6,
"hidden_frames": 3
}
},

"hailo_scrfd":
{
"hef_file": "/usr/share/hailo-models/scrfd_2.5g_h8l.hef"
},

"object_detect_draw_cv":
{
"line_thickness" : 2
}
}
1 change: 1 addition & 0 deletions post_processing_stages/hailo/meson.build
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,7 @@ postproc_assets += files([
assets_dir / 'hailo_yolov8_pose_and_inference.json',
assets_dir / 'hailo_yolov5_segmentation.json',
assets_dir / 'hailo_scrfd.json',
assets_dir / 'hailo_pose_inf_fl.json',
])

hailo_cpp_arguments = ['-Wno-ignored-qualifiers', '-Wno-unused-parameter', '-Wno-extra']
Expand Down

0 comments on commit 0e2426c

Please sign in to comment.