struct ngraph::runtime::reference::nms_common::BoxInfo

#include <nms_common.hpp>

struct BoxInfo
{
    // fields

    Rectangle box;
    int64_t index = 0;
    int64_t suppress_begin_index = 0;
    int64_t batch_index = 0;
    int64_t class_index = 0;
    float score = 0.0f;

    // construction

    BoxInfo(
        const Rectangle& r,
        int64_t idx,
        float sc,
        int64_t suppress_idx,
        int64_t batch_idx,
        int64_t class_idx
        );

    BoxInfo();

    // methods

    bool operator < (const BoxInfo& rhs) const;
    bool operator > (const BoxInfo& rhs) const;
};