first commit

This commit is contained in:
陈赣
2026-06-03 12:43:14 +08:00
commit ba76cfae28
608 changed files with 120791 additions and 0 deletions

View File

@@ -0,0 +1,32 @@
#include "vp_frame_face_target.h"
namespace vp_objects {
vp_frame_face_target::vp_frame_face_target(int x,
int y,
int width,
int height,
float score,
std::vector<std::pair<int, int>> key_points,
std::vector<float> embeddings):
x(x),
y(y),
width(width),
height(height),
score(score),
key_points(key_points),
embeddings(embeddings) {
}
vp_frame_face_target::~vp_frame_face_target() {
}
std::shared_ptr<vp_frame_face_target> vp_frame_face_target::clone() {
return std::make_shared<vp_frame_face_target>(*this);
}
vp_rect vp_frame_face_target::get_rect() const{
return vp_rect(x, y, width, height);
}
}