1
0

DetectedBreastLesionResult.cs 577 B

1234567891011121314151617181920212223242526
  1. using System;
  2. using System.Collections.Generic;
  3. using System.Text;
  4. namespace YOLODetectProcessLib
  5. {
  6. /// <summary>
  7. /// 检测结果
  8. /// <summary>
  9. public struct DetectedBreastLesionResult:IDetectedObject
  10. {
  11. public int Label { get; set; }
  12. public float Confidence { get; set; }
  13. public Rect BoundingBox { get; set; }
  14. public DetectedBreastLesionResult(int label, float confidence, Rect boundBox)
  15. {
  16. Label = label;
  17. Confidence = confidence;
  18. BoundingBox = boundBox;
  19. }
  20. }
  21. }