Skip to content

Commit

Permalink
Update types.h
Browse files Browse the repository at this point in the history
keypoints array with dynamic size based on kNumberOfPoints
  • Loading branch information
lindsayshuo authored Aug 28, 2024
1 parent f5b29bf commit 045d739
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion yolov8/include/types.h
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ struct alignas(float) Detection {
float conf; // bbox_conf * cls_conf
float class_id;
float mask[32];
float keypoints[51]; // 17*3 keypoints
float keypoints[kNumberOfPoints * 3]; // keypoints array with dynamic size based on kNumberOfPoints
};

struct AffineMatrix {
Expand Down

0 comments on commit 045d739

Please sign in to comment.