Spinnaker C++
2.6.0.0
Classes | Enumerator | Functions | Variables
Chunk Data Inference Class

Classes

class  InferenceBoundingBoxResult
 An inference bounding boxes object which holds information about the detected bounding boxes. More...
 

Functions

 InferenceBoundingBoxResult ()
 Default Constructor. More...
 
 ~InferenceBoundingBoxResult ()
 Destructor. More...
 
 InferenceBoundingBoxResult (const uint8_t *data, const int64_t lengthInBytes)
 Default Constructor with arguments. More...
 
 InferenceBoundingBoxResult (const InferenceBoundingBoxResult &other)
 Copy Constructor. More...
 
InferenceBoundingBoxResult & operator= (const InferenceBoundingBoxResult &rhs)
 Assignment Operator. More...
 
int8_t GetVersion () const
 Returns the bounding box format version number. More...
 
int16_t GetBoxCount () const
 Returns the number of bounding boxes. More...
 
int8_t GetBoxSize () const
 Returns the number of bytes allocated for one bounding box. More...
 
InferenceBoundingBox GetBoxAt (const uint16_t index) const
 Returns the bounding box at specified index. More...
 

Variables

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

Detailed Description

Function Documentation

InferenceBoundingBox GetBoxAt ( const uint16_t  index) const

Returns the bounding box at specified index.

Parameters
indexIndex of the bounding box to return.
Examples:
Inference.cpp.
int16_t GetBoxCount ( ) const

Returns the number of bounding boxes.

Examples:
Inference.cpp.
int8_t GetBoxSize ( ) const

Returns the number of bytes allocated for one bounding box.

int8_t GetVersion ( ) const

Returns the bounding box format version number.

InferenceBoundingBoxResult ( )

Default Constructor.

InferenceBoundingBoxResult ( const uint8_t *  data,
const int64_t  lengthInBytes 
)

Default Constructor with arguments.

Parameters
dataThe bounding box binary data from chunk data.
lengthInBytesThe length of bounding box binary data in bytes.
InferenceBoundingBoxResult ( const InferenceBoundingBoxResult other)

Copy Constructor.

InferenceBoundingBoxResult& operator= ( const InferenceBoundingBoxResult rhs)

Assignment Operator.

~InferenceBoundingBoxResult ( )

Destructor.

Variable Documentation

int16_t bottomRightXCoord
Examples:
Inference.cpp.
int16_t bottomRightXCoord
Examples:
Inference.cpp.
int16_t bottomRightYCoord
Examples:
Inference.cpp.
int16_t bottomRightYCoord
Examples:
Inference.cpp.
InferenceBoxType boxType
Examples:
Inference.cpp.
int16_t centerXCoord
Examples:
Inference.cpp.
int16_t centerYCoord
Examples:
Inference.cpp.
InferenceBoxCircle circle
Examples:
Inference.cpp.
int16_t classId
Examples:
Inference.cpp.
float32_t confidence
Examples:
Inference.cpp.
int16_t radius
Examples:
Inference.cpp.
InferenceBoxRect rect
Examples:
Inference.cpp.
InferenceBoxRotatedRect rotatedRect
Examples:
Inference.cpp.
short rotationAngle
Examples:
Inference.cpp.
int16_t topLeftXCoord
Examples:
Inference.cpp.
int16_t topLeftXCoord
Examples:
Inference.cpp.
int16_t topLeftYCoord
Examples:
Inference.cpp.
int16_t topLeftYCoord
Examples:
Inference.cpp.
Contact Support Spinnaker® SDK Programmer's Guide and API Reference