AIBlineRecognizedObjectInfo.cs 832 B

123456789101112131415161718192021222324252627282930
  1. using Vinno.AI.AutoBLineDiagnosisSDK.Enums;
  2. using Vinno.AI.CommonSDK.Models;
  3. namespace Vinno.AI.AutoBLineDiagnosisSDK.Models
  4. {
  5. public class AIBlineRecognizedObjectInfo
  6. {
  7. /// <summary>
  8. /// 被识别到的目标的类别
  9. /// </summary>
  10. public AIEnumBlineRecognizedObjectType Type { get; set; }
  11. /// <summary>
  12. /// 识别正确的可能性
  13. /// </summary>
  14. public float Confidence { get; set; }
  15. /// <summary>
  16. /// 该目标的轮廓
  17. /// </summary>
  18. public AIPoint2D[] Contour { get; set; }
  19. public AIBlineRecognizedObjectInfo(AIEnumBlineRecognizedObjectType type, float confidence, AIPoint2D[] contour)
  20. {
  21. Type = type;
  22. Confidence = confidence;
  23. Contour = contour;
  24. }
  25. }
  26. }