添加契约和网络传输类库
This commit is contained in:
@@ -377,6 +377,13 @@ public class HikVideoSource : BaseVideoSource,
|
||||
Cv2.CvtColor(rawYuvWrapper, smartFrame.InternalMat, ColorConversionCodes.YUV2BGR_YV12);
|
||||
}
|
||||
|
||||
// =========================================================================
|
||||
// 【新增】插入这一行!
|
||||
// 此时 smartFrame.InternalMat 已经有了图像数据
|
||||
// 我们把它交给全局分发器,触发 ZeroMQ 广播
|
||||
// =========================================================================
|
||||
GlobalStreamDispatcher.Dispatch(Id, smartFrame);
|
||||
|
||||
// 4. [分发] 将决策结果传递给处理中心
|
||||
// decision.TargetAppIds 包含了 "谁需要这一帧" 的信息
|
||||
//GlobalProcessingCenter.Submit(this.Id, smartFrame, decision);
|
||||
|
||||
Reference in New Issue
Block a user