Files
ANSCORE/modules/ANSMOT/ByteTrackNCNN/include/NCNNObject.h

25 lines
638 B
C
Raw Normal View History

2026-03-28 16:54:11 +11:00
#pragma once
#include "NCNNRect.h"
namespace ByteTrackNCNN
{
struct Object
{
ByteTrackNCNN::Rect<float> box; //left, top, right, bottom
int label;
float confidence;
float left;
float top;
float right;
float bottom;
std::string object_id;
Object(const ByteTrackNCNN::Rect<float>& _box,
const int& _label,
const float& _confidence,
const float& _left,
const float& _top,
const float& _right,
const float& _bottom,
const std::string& _object_id);
};
}