keypoints array with dynamic size based on kNumberOfPoints (#1570)
* Add the generation of multi-class pose engines * Change grids in forwardGpu to one-dimensional arrays * Update README.md * Update types.h keypoints array with dynamic size based on kNumberOfPoints --------- Co-authored-by: lindsayshuo <lindsayshuo@foxmail.com.com>
This commit is contained in:
parent
d5230129c8
commit
e2545131df
@ -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 {
|
||||
|
||||
Loading…
Reference in New Issue
Block a user