Spinnaker SDK C++
4.1.0.338
 
 

 
Loading...
Searching...
No Matches
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.
 
 ~InferenceBoundingBoxResult ()
 Destructor.
 
 InferenceBoundingBoxResult (const uint8_t *data, const int64_t lengthInBytes)
 Default Constructor with arguments.
 
 InferenceBoundingBoxResult (const InferenceBoundingBoxResult &other)
 Copy Constructor.
 
InferenceBoundingBoxResultoperator= (const InferenceBoundingBoxResult &rhs)
 Assignment Operator.
 
int8_t GetVersion () const
 Returns the bounding box format version number.
 
int16_t GetBoxCount () const
 Returns the number of bounding boxes.
 
int8_t GetBoxSize () const
 Returns the number of bytes allocated for one bounding box.
 
InferenceBoundingBox GetBoxAt (const uint16_t index) const
 Returns the bounding box at specified index.
 

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

◆ bottomRightXCoord [2/2]

int16_t bottomRightXCoord

◆ bottomRightYCoord [1/2]

int16_t bottomRightYCoord

◆ bottomRightYCoord [2/2]

int16_t bottomRightYCoord

◆ boxType

InferenceBoxType boxType
Examples
Inference.cpp.

◆ centerXCoord

int16_t centerXCoord

◆ centerYCoord

int16_t centerYCoord

◆ circle

InferenceBoxCircle circle
Examples
Inference.cpp.

◆ classId

int16_t classId
Examples
Inference.cpp.

◆ confidence

float32_t confidence
Examples
Inference.cpp.

◆ radius

int16_t radius

◆ rect

InferenceBoxRect rect
Examples
Inference.cpp.

◆ rotatedRect

InferenceBoxRotatedRect rotatedRect
Examples
Inference.cpp.

◆ rotationAngle

short rotationAngle

◆ topLeftXCoord [1/2]

int16_t topLeftXCoord

◆ topLeftXCoord [2/2]

int16_t topLeftXCoord

◆ topLeftYCoord [1/2]

int16_t topLeftYCoord

◆ topLeftYCoord [2/2]

int16_t topLeftYCoord

Friends

◆ ChunkDataImpl

friend class ChunkDataImpl
friend