public abstract class IYolov5DetModel : IModel
Provides standard YOLOv5 detection pipeline including: 提供标准YOLOv5检测流程,包括: - Input preprocessing 输入预处理 - Output decoding 输出解码 - Confidence filtering 置信度过滤 - Non-Maximum Suppression 非极大值抑制
Inherits from base IModel interface and implements YOLOv5-specific processing 继承自基础IModel接口并实现YOLOv5特定处理
IYolov5DetModel | Initializes a new instance of YOLOv5 detector 初始化YOLOv5检测器的新实例 |
ModelInferenceProfiler |
Performance profiler recording timing metrics
记录时间指标的性能分析器
(继承自 IModel。) |
Dispose |
Releases model resources
释放模型资源
(继承自 IModel。) |
Equals | Determines whether the specified object is equal to the current object. (继承自 Object。) |
Finalize | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (继承自 Object。) |
GetHashCode | Serves as the default hash function. (继承自 Object。) |
GetType | Gets the Type of the current instance. (继承自 Object。) |
MemberwiseClone | Creates a shallow copy of the current Object. (继承自 Object。) |
Postprocess |
Post-processes raw model output to extract detection results
对原始模型输出进行后处理以提取检测结果
(重写 IModelPostprocess(DataTensor, ImageAdjustmentParam)) |
Predict(ListObject) |
Performs batch prediction on multiple inputs
对多个输入执行批量预测
(继承自 IModel。) |
Predict(Object) | Predicts objects in input image and returns detection results 预测输入图像中的目标并返回检测结果 |
PredictAsync |
Asynchronously performs prediction on single input
异步执行单个输入预测
(继承自 IModel。) |
Preprocess |
Abstract method for input preprocessing
输入预处理的抽象方法
(继承自 IModel。) |
ToString | Returns a string that represents the current object. (继承自 Object。) |
config |
Model configuration parameters
模型配置参数
(继承自 IModel。) |
engine |
Inference engine instance
推理引擎实例
(继承自 IModel。) |
predictorTimer |
Timer measuring different prediction phases
测量不同预测阶段的计时器
(继承自 IModel。) |