first commit
This commit is contained in:
21
nodes/track/vp_dsort_track_node.cpp
Normal file
21
nodes/track/vp_dsort_track_node.cpp
Normal file
@@ -0,0 +1,21 @@
|
||||
#include "vp_dsort_track_node.h"
|
||||
|
||||
namespace vp_nodes {
|
||||
|
||||
vp_dsort_track_node::vp_dsort_track_node(std::string node_name,
|
||||
vp_track_for track_for):
|
||||
vp_track_node(node_name, track_for) {
|
||||
this->initialized();
|
||||
}
|
||||
|
||||
vp_dsort_track_node::~vp_dsort_track_node() {
|
||||
deinitialized();
|
||||
}
|
||||
|
||||
void vp_dsort_track_node::track(int channel_index, const std::vector<vp_objects::vp_rect>& target_rects,
|
||||
const std::vector<std::vector<float>>& target_embeddings,
|
||||
std::vector<int>& track_ids) {
|
||||
// fill track_ids according to target_rects & target_embeddings
|
||||
// deep sort logic here ...
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user