wangrong
2025-03-19 291afb9c81aae1d15d9e3edcea618d0a2e1fc5a6
nodes/ba/vp_ba_jam_node.h
@@ -32,11 +32,11 @@
        bool point_in_poly(vp_objects::vp_point p, std::vector<vp_objects::vp_point> region);
        // 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_interval_frames = 70;
        const int check_min_hit_frames = 20 * 60 /3;  // 25 fps * 2 seconds
        const int check_max_distance = 10; //The closer the camera, the larger the pixel distance.
        const int check_min_stops = 2;
        const int check_notify_interval = 30;  // 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: