阶段性批量提交
This commit is contained in:
@@ -1,6 +1,5 @@
|
||||
using OpenCvSharp;
|
||||
using SHH.CameraSdk.HikFeatures;
|
||||
using System;
|
||||
|
||||
namespace SHH.CameraSdk;
|
||||
|
||||
@@ -380,11 +379,9 @@ public class HikVideoSource : BaseVideoSource,
|
||||
smartFrame.SubscriberIds.AddRange(decision.TargetAppIds);
|
||||
|
||||
// =========================================================================
|
||||
// 【新增】插入这一行!
|
||||
// 此时 smartFrame.InternalMat 已经有了图像数据
|
||||
// 我们把它交给全局分发器,触发 ZeroMQ 广播
|
||||
// =========================================================================
|
||||
GlobalStreamDispatcher.Dispatch(Id, smartFrame);
|
||||
// 【修正】删除这里的 GlobalStreamDispatcher.Dispatch!
|
||||
// 严禁在这里分发,因为这时的图是“生的”,还没经过 Pipeline 处理。
|
||||
// =========================================================================GlobalStreamDispatcher.Dispatch(Id, smartFrame);
|
||||
|
||||
// 4. [分发] 将决策结果传递给处理中心
|
||||
// decision.TargetAppIds 包含了 "谁需要这一帧" 的信息
|
||||
|
||||
Reference in New Issue
Block a user