using System.Collections.Generic; using Vinno.AI.CommonSDK.Enums; using Vinno.AI.CommonSDK.Interfaces; using Vinno.AI.CommonSDK.Models; using Vinno.AI.CommonSDK.Models.Data; using Vinno.AI.VetHeartDiagnosisSDK.Enums; using Vinno.AI.VetHeartDiagnosisSDK.Models; namespace Vinno.AI.VetHeartDiagnosisSDK.Interfaces { public interface IVetHeartDiagnosisService : IAIService { /// /// 初始化 VetHeartMLine Diagnosis /// /// void Initialize(VetHeartDiagnosisParameter vetHeartMLineDiagnosisParameter, bool hasImageProvider); /// /// Start Image Provider /// void Start(); /// /// Stop Image Provider /// void Stop(); /// /// 开始一次处理 /// /// /// string StartProcess(AIEnumVetHeartEngineType engineType); /// /// 结束一次处理 /// /// /// void EndProcess(AIEnumVetHeartEngineType engineType, string processId); /// /// 输入一份数据,并实时得到结果 /// /// /// /// /// /// /// /// /// List PushOnePieceOfData(string processId, AIEnumVetHeartEngineType engineType, AIImageDataId imageDataId, AIImageExtraInfo imageExtraInfo, TransAIUltrasoundImageRegion ultrasoundImageRegion, int height, int width, AIEnumColorType colorType); /// /// 设置每秒图片吞吐量 /// /// void SetDetectTps(int detectTps); /// /// 设置间隔时间 /// /// void SetIntervalTime(int intervalTime); /// /// 设置检测模式 /// /// void SetDetectMode(AIEnumDetectMode detectMode); /// /// Send Raw Image Data For Pipe /// /// /// /// void SendImageData(AIImageDataId imageDataId, AIImageExtraInfo imageExtraInfo, TransAIUltrasoundImageRegion ultrasoundImageRegion, int height, int width, AIEnumColorType colorType); /// /// 设置当前使用的引擎,仅ImageProvider模式会用到 /// /// void SetCurrentEngine(AIEnumVetHeartEngineType engineType); /// /// 关闭 VetHeartMLine Diagnosis /// void Close(); } }