Refactor project structure

This commit is contained in:
2026-03-28 19:56:39 +11:00
parent 1d267378b2
commit 8a2e721058
511 changed files with 59 additions and 48 deletions

View File

@@ -0,0 +1,25 @@
#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);
};
}