From 8b0e31121a9a29b92a41fc575138a2e9b4c12d8e Mon Sep 17 00:00:00 2001
From: wangrong <wangrong@shsening.com>
Date: 星期六, 18 一月 2025 22:12:28 +0800
Subject: [PATCH] add person gathering
---
nodes/ba/vp_ba_jam_node.h | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/nodes/ba/vp_ba_jam_node.h b/nodes/ba/vp_ba_jam_node.h
index 7048c3b..aa52b25 100644
--- a/nodes/ba/vp_ba_jam_node.h
+++ b/nodes/ba/vp_ba_jam_node.h
@@ -34,9 +34,9 @@
// jam checking logic parameters which may be configed by constructor passed in by user
const int check_interval_frames = 20;
const int check_min_hit_frames = 25 * 2; // 25 fps * 2 seconds
- const int check_max_distance = 8;
- const int check_min_stops = 8;
- const int check_notify_interval = 10; // interval time (seconds) to notify (ensure not frequently)
+ const int check_max_distance = 3;
+ const int check_min_stops = 1;
+ const int check_notify_interval = 15; // interval time (seconds) to notify (ensure not frequently)
protected:
virtual std::shared_ptr<vp_objects::vp_meta> handle_frame_meta(std::shared_ptr<vp_objects::vp_frame_meta> meta) override;
public:
--
Gitblit v1.9.1