Table of Contents

Enum TensorRtBoundingBoxFormat

Namespace
JYPPX.TensorRtSharp
Assembly
JYPPX.TensorRtSharp.dll

Describes the coordinate encoding used by a TensorRT NMS layer. 描述 TensorRT NMS 层使用的边界框坐标编码方式。

public enum TensorRtBoundingBoxFormat

Fields

CenterSizes = 1

Boxes are encoded as center point and size: (x_center, y_center, width, height). 边界框按中心点和尺寸编码:(x_center, y_center, width, height)。

CornerPairs = 0

Boxes are encoded as diagonal corner pairs: (x1, y1, x2, y2). 边界框按对角角点编码:(x1, y1, x2, y2)。