接口: ObjectFrame
2022/10/22约 169 字小于 1 分钟
image.ObjectFrame
对象框架,描述通过特征匹配找到的对象在图像中的位置和边界框。
目录
属性
属性
topLeft
• Readonly topLeft: cv.Point2
对象框架的左上角坐标。
topRight
• Readonly topRight: cv.Point2
对象框架的右上角坐标。
bottomLeft
• Readonly bottomLeft: cv.Point2
对象框架的左下角坐标。
bottomRight
• Readonly bottomRight: cv.Point2
对象框架的右下角坐标。
center
• Readonly center: cv.Point2
对象框架的中心点坐标。
centerX
• Readonly centerX: number
对象框架的中心点 X 坐标。
centerY
• Readonly centerY: number
对象框架的中心点 Y 坐标。
