improved performance
This commit is contained in:
+1
-4
@@ -72,8 +72,7 @@ struct EmbeddedSceneFrame {
|
||||
|
||||
// ── Face tracking ─────────────────────────────────────────────────────────────
|
||||
// Output of FaceTrackerFunc — EmbeddedSceneFrame augmented with per-detection
|
||||
// track context. track_embeddings[i] is the L2-normalised running mean across
|
||||
// the track's history; use it for identity matching when track_mature[i] is true.
|
||||
// track context.
|
||||
|
||||
struct TrackedSceneFrame {
|
||||
Frame source;
|
||||
@@ -81,8 +80,6 @@ struct TrackedSceneFrame {
|
||||
std::vector<cv::Mat> crops;
|
||||
std::vector<int> track_ids; // -1 = brand-new track this frame
|
||||
std::vector<Embedding> embeddings; // per-frame raw (from embedder)
|
||||
std::vector<Embedding> track_embeddings; // accumulated mean per track
|
||||
std::vector<bool> track_mature; // true once track has ≥ min_frames obs.
|
||||
};
|
||||
|
||||
// ── Identity matching ─────────────────────────────────────────────────────────
|
||||
|
||||
Reference in New Issue
Block a user