stub_analytics_plugin  1.6
Network Optix Video Analytics SDK
Public Member Functions | Public Attributes | List of all members
nx::sdk::analytics::IObjectMetadata::Rect Struct Reference

#include <i_object_metadata.h>

Public Member Functions

 Rect (float x, float y, float width, float height)
 

Public Attributes

float x = 0
 
float y = 0
 
float width = 0
 
float height = 0
 

Detailed Description

Bounding box of an object detected in a video frame.

Member Data Documentation

◆ height

float nx::sdk::analytics::IObjectMetadata::Rect::height = 0

Height of the rectangle. Must be in the range [0..1], and the rule y + height <= 1 must be satisfied.

◆ width

float nx::sdk::analytics::IObjectMetadata::Rect::width = 0

Width of the rectangle. Must be in the range [0..1], and the rule x + width <= 1 must be satisfied.

◆ x

float nx::sdk::analytics::IObjectMetadata::Rect::x = 0

X-coordinate of the top left corner. Must be in the range [0..1].

◆ y

float nx::sdk::analytics::IObjectMetadata::Rect::y = 0

Y-coordinate of the top left corner. Must be in the range [0..1].


The documentation for this struct was generated from the following file: