1234567891011121314151617181920212223242526 |
- using System;
- using System.Collections.Generic;
- using System.Text;
- namespace YOLODetectProcessLib
- {
- /// <summary>
- /// 检测结果
- /// <summary>
- public struct DetectedBreastLesionResult:IDetectedObject
- {
- public int Label { get; set; }
- public float Confidence { get; set; }
- public Rect BoundingBox { get; set; }
- public DetectedBreastLesionResult(int label, float confidence, Rect boundBox)
- {
- Label = label;
- Confidence = confidence;
- BoundingBox = boundBox;
- }
- }
- }
|