16 : BoundingBox(0.0f, 0.0f, 0.0f, 0.0f)
19 BoundingBox(
float xMin,
float yMin,
float xMax,
float yMax)
34 DetectedObject(
float detectedClass,
35 const BoundingBox& boundingBox,
37 : m_Class(detectedClass)
38 , m_BoundingBox(boundingBox)
39 , m_Confidence(confidence)
42 bool operator<(
const DetectedObject& other)
const 44 return m_Confidence < other.m_Confidence ||
45 (m_Confidence == other.m_Confidence && m_Class < other.m_Class);
49 BoundingBox m_BoundingBox;
53 using ObjectDetectionInput = std::pair<std::string, std::vector<DetectedObject>>;