Skip to content

Group ChunkDataInference_h

Modules > ChunkDataInference_h

Classes

Type Name
class Spinnaker::InferenceBoundingBoxResult
An inference bounding boxes object which holds information about the detected bounding boxes.

Public Attributes

Type Name
int16_t bottomRightXCoord
int16_t bottomRightXCoord
int16_t bottomRightYCoord
int16_t bottomRightYCoord
InferenceBoxType boxType
int16_t centerXCoord
int16_t centerYCoord
InferenceBoxCircle circle
int16_t classId
float32_t confidence
int16_t radius
InferenceBoxRect rect
InferenceBoxRotatedRect rotatedRect
short rotationAngle
int16_t topLeftXCoord
int16_t topLeftXCoord
int16_t topLeftYCoord
int16_t topLeftYCoord

Public Functions

Type Name
InferenceBoundingBox GetBoxAt (const uint16_t index) const
int16_t GetBoxCount () const
int8_t GetBoxSize () const
int8_t GetVersion () const
InferenceBoundingBoxResult ()
InferenceBoundingBoxResult (const uint8_t * data, const int64_t lengthInBytes)
InferenceBoundingBoxResult (const InferenceBoundingBoxResult & other)
InferenceBoundingBoxResult & operator= (const InferenceBoundingBoxResult & rhs)
~InferenceBoundingBoxResult ()

Public Attributes Documentation

variable bottomRightXCoord

int16_t Spinnaker::InferenceBoxRect::bottomRightXCoord;

variable bottomRightXCoord

int16_t Spinnaker::InferenceBoxRotatedRect::bottomRightXCoord;

variable bottomRightYCoord

int16_t Spinnaker::InferenceBoxRect::bottomRightYCoord;

variable bottomRightYCoord

int16_t Spinnaker::InferenceBoxRotatedRect::bottomRightYCoord;

variable boxType

InferenceBoxType Spinnaker::InferenceBoundingBox::boxType;

variable centerXCoord

int16_t Spinnaker::InferenceBoxCircle::centerXCoord;

variable centerYCoord

int16_t Spinnaker::InferenceBoxCircle::centerYCoord;

variable circle

InferenceBoxCircle Spinnaker::InferenceBoundingBox::circle;

variable classId

int16_t Spinnaker::InferenceBoundingBox::classId;

variable confidence

float32_t Spinnaker::InferenceBoundingBox::confidence;

variable radius

int16_t Spinnaker::InferenceBoxCircle::radius;

variable rect

InferenceBoxRect Spinnaker::InferenceBoundingBox::rect;

variable rotatedRect

InferenceBoxRotatedRect Spinnaker::InferenceBoundingBox::rotatedRect;

variable rotationAngle

short Spinnaker::InferenceBoxRotatedRect::rotationAngle;

variable topLeftXCoord

int16_t Spinnaker::InferenceBoxRect::topLeftXCoord;

variable topLeftXCoord

int16_t Spinnaker::InferenceBoxRotatedRect::topLeftXCoord;

variable topLeftYCoord

int16_t Spinnaker::InferenceBoxRect::topLeftYCoord;

variable topLeftYCoord

int16_t Spinnaker::InferenceBoxRotatedRect::topLeftYCoord;

Public Functions Documentation

function GetBoxAt

InferenceBoundingBox GetBoxAt (
    const uint16_t index
) const

Returns the bounding box at specified index.

Parameters:

  • index Index of the bounding box to return.

function GetBoxCount

int16_t GetBoxCount () const

Returns the number of bounding boxes.


function GetBoxSize

int8_t GetBoxSize () const

Returns the number of bytes allocated for one bounding box.


function GetVersion

int8_t GetVersion () const

Returns the bounding box format version number.


function InferenceBoundingBoxResult

InferenceBoundingBoxResult () 

Default Constructor


function InferenceBoundingBoxResult

InferenceBoundingBoxResult (
    const uint8_t * data,
    const int64_t lengthInBytes
) 

Default Constructor with arguments

Parameters:

  • data The bounding box binary data from chunk data.
  • lengthInBytes The length of bounding box binary data in bytes.

function InferenceBoundingBoxResult

InferenceBoundingBoxResult (
    const InferenceBoundingBoxResult & other
) 

Copy Constructor


function operator=

InferenceBoundingBoxResult & operator= (
    const InferenceBoundingBoxResult & rhs
) 

Assignment Operator


function ~InferenceBoundingBoxResult

~InferenceBoundingBoxResult () 

Destructor