1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162 |
- using System;
- using System.Collections.Generic;
- using Vinno.AI.CommonSDK.Enums;
- using Vinno.AI.CommonSDK.Interfaces;
- using Vinno.AI.CommonSDK.Models.Data;
- using Vinno.AI.VetHeartDiagnosisSDK.Enums;
- namespace Vinno.AI.VetHeartDiagnosisSDK.Interfaces
- {
- public interface IVetHeartDiagnosis : IDiagnosis
- {
- /// <summary>
- /// 获取AI VetHeart 引擎
- /// </summary>
- /// <param name="engineType"></param>
- /// <returns></returns>
- IAIVetHeartEngine GetAIEngine(AIEnumVetHeartEngineType engineType);
- /// <summary>
- /// Close VetHeartMLine Diagnosis
- /// </summary>
- void Close();
- /// <summary>
- /// Raised when the image evaluation is started.
- /// </summary>
- event EventHandler StartEvaluationNotification;
- /// <summary>
- /// Raised when the image evaluation is finished.
- /// </summary>
- event EventHandler<IReadOnlyDictionary<AIImageDataId, IReadOnlyList<IAIResultData>>> FinishEvaluationNotification;
- /// <summary>
- /// Start Image Provider
- /// </summary>
- void Start();
- /// <summary>
- /// Stop Image Provider
- /// </summary>
- void Stop();
- /// <summary>
- /// 设置每秒图片吞吐量
- /// </summary>
- /// <param name="detectTps">每秒图片吞吐量,必须大于0</param>
- void SetDetectTps(int detectTps);
- /// <summary>
- /// 设置间隔时间
- /// </summary>
- /// <param name="intervalTime"></param>
- void SetIntervalTime(int intervalTime);
- /// <summary>
- /// 设置检测模式
- /// </summary>
- /// <param name="detectMode"></param>
- void SetDetectMode(AIEnumDetectMode detectMode);
- }
- }
|