public abstract class IYolov7DetModel : IModel
Provides standard YOLOv7 detection pipeline including: 提供标准YOLOv7检测流程,包括: - Output decoding 输出解码 - Confidence filtering 置信度过滤 - Coordinate adjustment 坐标调整
Inherits from base IModel interface and implements YOLOv7-specific processing 继承自基础IModel接口并实现YOLOv7特定处理
Note: YOLOv7 uses different output format compared to YOLOv5: 注意:相比YOLOv5,YOLOv7使用不同的输出格式: Each detection result contains 7 values per row: 每个检测结果包含每行7个值: [batch_id, x1, y1, x2, y2, class_id, confidence]
IYolov7DetModel | Initializes a new instance of YOLOv7 detector 初始化YOLOv7检测器的新实例 |
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。) |