Simd Library Documentation.

Home | Release Notes | Download | Documentation | Issues | GitHub
Detection< A >::Object Struct Reference

The Object structure describes one grouped detection result. More...

#include <SimdDetection.hpp>

Public Member Functions

 Object (const Rect &r=Rect(), int w=0, Tag t=UNDEFINED_OBJECT_TAG)
 
 Object (const Object &o)
 

Data Fields

Rect rect
 An averaged bounding box of a detected object in input image coordinates.
 
int weight
 Number of elementary detections merged into this object.
 
Tag tag
 Tag of the cascade that produced this object.
 

Detailed Description

template<template< class > class A>
struct Simd::Detection< A >::Object

The Object structure describes one grouped detection result.

Constructor & Destructor Documentation

◆ Object() [1/2]

Object ( const Rect r = Rect(),
int  w = 0,
Tag  t = UNDEFINED_OBJECT_TAG 
)

Creates a new Object structure.

Parameters
[in]r- initial object bounding box.
[in]w- initial object weight.
[in]t- initial cascade tag.

◆ Object() [2/2]

Object ( const Object o)

Creates a new Object structure as a copy of another object.

Parameters
[in]o- another object.