Files
Ayay/SHH.CameraSdk/Abstractions/IFrameProcessor.cs

16 lines
637 B
C#
Raw Permalink Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
namespace SHH.CameraSdk;
/// <summary>
/// [标准处理契约] 帧处理器接口
/// 职责:定义所有图像预处理服务(缩放、增强、去雾等)必须遵循的标准行为
/// </summary>
public interface IFrameProcessor : IDisposable
{
/// <summary>
/// 投递任务进入处理环节
/// </summary>
/// <param name="deviceId">设备ID用于保序路由</param>
/// <param name="frame">智能帧(携带原始图像)</param>
/// <param name="decision">决策上下文(用于透传给下一站)</param>
void Enqueue(long deviceId, SmartFrame frame, FrameDecision decision);
}