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
{
///
/// 初始化 AutoBLine Diagnosis
///
///
void Initialize(AutoBLineDiagnosisParameter autoBLineDiagnosisParameter, bool hasImageProvider);
///
/// Start Image Provider
///
void Start();
///
/// Stop Image Provider
///
void Stop();
///
/// 检测单张Byte Image
///
/// 图像上一个像素实际代表的物理距离是多少cm
///
TransAIBlineScoringResults DetectOneByteImage(float cmPerPixel, TransAIUltrasoundImageRegion transUltrasoundImageRegion);
///
/// 检测单张Byte Image
///
/// 图像上一个像素实际代表的物理距离是多少cm
///
TransAIBlineScoringResults DetectOneRawImage(int height, int width, AIEnumColorType colorType, float cmPerPixel, TransAIUltrasoundImageRegion transUltrasoundImageRegion);
///
/// 设置每秒图片吞吐量
///
///
void SetDetectTps(int detectTps);
///
/// 设置间隔时间
///
///
void SetIntervalTime(int intervalTime);
///
/// 设置一个像素代表的实际物理距离是多少cm
///
///
void SetCmPerPixel(float cmPerPixel);
///
/// 设置检测模式
///
///
void SetDetectMode(AIEnumDetectMode detectMode);
///
/// Send Raw Image Data For Pipe
///
///
///
///
void SendRawImageData(int height, int width, AIEnumColorType colorType);
///
/// Send Byte Image Data For Pipe
///
void SendByteImageData();
///
/// 设置探头图像信息
///
///
void SetProbeImageInfo(TransAIUltrasoundImageRegion transUltrasoundImageRegion);
///
/// 关闭 AutoVTI Diagnosis
///
void Close();
}
}