Detection< A >::Object Struct Reference
The Object structure describes detected object. 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 |
A bounding box around of detected object. | |
int | weight |
An object weight (number of elementary detections). | |
Tag | tag |
An object tag. It's useful if more than one detector works. | |
Detailed Description
template<template< class > class A>
struct Simd::Detection< A >::Object
struct Simd::Detection< A >::Object
The Object structure describes detected object.
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 bounding box. [in] w - initial weight. [in] t - initial tag.