Spinnaker SDK C++
4.3.0.189
 
Classes | Enumerator | Functions | Variables | Friends
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...
 
InferenceBoundingBoxResultoperator= (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
 

Friends

class ChunkDataImpl
 

Detailed Description

Function Documentation

◆ GetBoxAt()

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.

◆ GetBoxCount()

int16_t GetBoxCount ( ) const

Returns the number of bounding boxes.

Examples
Inference.cpp.

◆ GetBoxSize()

int8_t GetBoxSize ( ) const

Returns the number of bytes allocated for one bounding box.

◆ GetVersion()

int8_t GetVersion ( ) const

Returns the bounding box format version number.

◆ InferenceBoundingBoxResult() [1/3]

Default Constructor.

◆ InferenceBoundingBoxResult() [2/3]

Copy Constructor.

◆ InferenceBoundingBoxResult() [3/3]

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.

◆ operator=()

Assignment Operator.

◆ ~InferenceBoundingBoxResult()

Destructor.

Variable Documentation

◆ bottomRightXCoord [1/2]

int16_t bottomRightXCoord
Examples
Inference.cpp.

◆ bottomRightXCoord [2/2]

int16_t bottomRightXCoord
Examples
Inference.cpp.

◆ bottomRightYCoord [1/2]

int16_t bottomRightYCoord
Examples
Inference.cpp.

◆ bottomRightYCoord [2/2]

int16_t bottomRightYCoord
Examples
Inference.cpp.

◆ boxType

Examples
Inference.cpp.

◆ centerXCoord

int16_t centerXCoord
Examples
Inference.cpp.

◆ centerYCoord

int16_t centerYCoord
Examples
Inference.cpp.

◆ circle

Examples
Inference.cpp.

◆ classId

int16_t classId
Examples
Inference.cpp.

◆ confidence

float32_t confidence
Examples
Inference.cpp.

◆ radius

int16_t radius
Examples
Inference.cpp.

◆ rect

Examples
Inference.cpp.

◆ rotatedRect

Examples
Inference.cpp.

◆ rotationAngle

short rotationAngle
Examples
Inference.cpp.

◆ topLeftXCoord [1/2]

int16_t topLeftXCoord
Examples
Inference.cpp.

◆ topLeftXCoord [2/2]

int16_t topLeftXCoord
Examples
Inference.cpp.

◆ topLeftYCoord [1/2]

int16_t topLeftYCoord
Examples
Inference.cpp.

◆ topLeftYCoord [2/2]

int16_t topLeftYCoord
Examples
Inference.cpp.

Friends

◆ ChunkDataImpl

friend class ChunkDataImpl
friend