📄 visionobject.cc
字号:
#include "VisionObject.h"
#include "Common.h"
#include <math.h>
VisionObject::VisionObject() {
type_ = OT_INVALID;
heading_ = 0;
elevation_ = 0;
distance_ = 0;
centreX_ = 0;
centreY_ = 0;
confidence_ = 0;
}
VisionObject::~VisionObject() {
}
void VisionObject::SetData(ObjectType type, Blob* topBlob, Blob* bottomBlob, double heading, double elevation, double distance, int cx, int cy, int confidence) {
type_ = type;
topBlob_ = topBlob;
bottomBlob_ = bottomBlob;
heading_ = heading;
elevation_ = elevation;
distance_ = distance;
centreX_ = cx;
centreY_ = cy;
confidence_ = confidence;
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -