12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788 |
- using Vinno.AI.AutoBLineDiagnosisSDK.Models;
- using Vinno.AI.CommonSDK.Enums;
- using Vinno.AI.CommonSDK.Interfaces;
- using Vinno.AI.CommonSDK.Models;
- namespace Vinno.AI.AutoBLineDiagnosisSDK.Interfaces
- {
- public interface IAutoBLineDiagnosisService : IAIService
- {
- /// <summary>
- /// 初始化 AutoBLine Diagnosis
- /// </summary>
- /// <param name="autoBLineDiagnosisParameter"></param>
- void Initialize(AutoBLineDiagnosisParameter autoBLineDiagnosisParameter, bool hasImageProvider);
- /// <summary>
- /// Start Image Provider
- /// </summary>
- void Start();
- /// <summary>
- /// Stop Image Provider
- /// </summary>
- void Stop();
- /// <summary>
- /// 检测单张Byte Image
- /// </summary>
- /// <param name="cmPerPixel">图像上一个像素实际代表的物理距离是多少cm</param>
- /// <returns></returns>
- TransAIBlineScoringResults DetectOneByteImage(float cmPerPixel, TransAIUltrasoundImageRegion transUltrasoundImageRegion);
- /// <summary>
- /// 检测单张Byte Image
- /// </summary>
- /// <param name="cmPerPixel">图像上一个像素实际代表的物理距离是多少cm</param>
- /// <returns></returns>
- TransAIBlineScoringResults DetectOneRawImage(int height, int width, AIEnumColorType colorType, float cmPerPixel, TransAIUltrasoundImageRegion transUltrasoundImageRegion);
- /// <summary>
- /// 设置每秒图片吞吐量
- /// </summary>
- /// <param name="detectTps"></param>
- void SetDetectTps(int detectTps);
- /// <summary>
- /// 设置间隔时间
- /// </summary>
- /// <param name="intervalTime"></param>
- void SetIntervalTime(int intervalTime);
- /// <summary>
- /// 设置一个像素代表的实际物理距离是多少cm
- /// </summary>
- /// <param name="cmPerPixel"></param>
- void SetCmPerPixel(float cmPerPixel);
- /// <summary>
- /// 设置检测模式
- /// </summary>
- /// <param name="detectMode"></param>
- void SetDetectMode(AIEnumDetectMode detectMode);
- /// <summary>
- /// Send Raw Image Data For Pipe
- /// </summary>
- /// <param name="height"></param>
- /// <param name="width"></param>
- /// <param name="colorType"></param>
- void SendRawImageData(int height, int width, AIEnumColorType colorType);
- /// <summary>
- /// Send Byte Image Data For Pipe
- /// </summary>
- void SendByteImageData();
- /// <summary>
- /// 设置探头图像信息
- /// </summary>
- /// <param name="probeImageInfo"></param>
- void SetProbeImageInfo(TransAIUltrasoundImageRegion transUltrasoundImageRegion);
- /// <summary>
- /// 关闭 AutoVTI Diagnosis
- /// </summary>
- void Close();
- }
- }
|