AINeckOrganDetectorRecognizedObjectInfo.cs 953 B

123456789101112131415161718192021222324252627282930313233
  1. using Vinno.AI.CarotidClassificationSDK.Enums;
  2. using Vinno.AI.CommonSDK.Models;
  3. namespace Vinno.AI.CarotidClassificationSDK.Models
  4. {
  5. /// <summary>
  6. /// 颈动脉标准切面的相关信息
  7. /// </summary>
  8. public class AINeckOrganDetectorRecognizedObjectInfo
  9. {
  10. /// <summary>
  11. /// 颈动脉标准切面的类型
  12. /// </summary>
  13. public AIEnumNeckOrganDetectorRecognizedObjectType Type { get; }
  14. /// <summary>
  15. /// 识别正确的可能性
  16. /// </summary>
  17. public float Confidence { get; }
  18. /// <summary>
  19. /// 该目标的轮廓
  20. /// </summary>
  21. public AIPoint2D[] Contour { get; }
  22. public AINeckOrganDetectorRecognizedObjectInfo(AIEnumNeckOrganDetectorRecognizedObjectType type, float confidence, AIPoint2D[] contour)
  23. {
  24. Type = type;
  25. Confidence = confidence;
  26. Contour = contour;
  27. }
  28. }
  29. }