Data Structures | |
| struct | pvaAlgosObjectDetectorIOBuffer_t |
| Structure that holds I/O Buffers that change based on the frame inputs. More... | |
Typedefs | |
| typedef enum pvaAlgosObjectClass | pvaAlgosObjectClass |
| Structure that holds configuration parameters for a Object detector. More... | |
| typedef struct ObjectDetectorContext * | pvaAlgosObjectDetectorContext_t |
| Structure that stores internal objects needed for Object Detector. More... | |
Enumerations | |
| enum | pvaAlgosObjectClass { PERSON, OBJECT_CLASS_MAX } |
| Structure that holds configuration parameters for a Object detector. More... | |
Functions | |
| pvaAlgosError_t | pvaAlgosObjectDetectorGetContext (pvaAlgosObjectDetectorContext_t *ObjectDetectorContext) |
| Initializes ObjectDetectorContext object and sends it back to the caller. More... | |
| pvaAlgosError_t | pvaAlgosObjectDetectorInit (pvaAlgosObjectDetectorContext_t *ObjectDetectorContext, pvaAlgosObjectDetectorConfig_t *ObjectDetectorParams) |
| Initializes the necessary values for the internal objects in pvaAlgosObjectDetectorContext_t object. More... | |
| pvaAlgosError_t | pvaAlgosObjectDetectorProcess (pvaAlgosObjectDetectorContext_t *ObjectDetectorContext, pvaAlgosObjectDetectorIOBuffer_t *ObjectDetectorBuffers, cupvaStream_t *instanceStream, int execTimeout) |
| Sets the I/O Buffers to the internal objects and runs the Object Detector Algorithm. More... | |
| pvaAlgosError_t | pvaAlgosObjectDetectorDeInit (pvaAlgosObjectDetectorContext_t *ObjectDetectorContext) |
| Frees the internal objects and the ObjectDetectorContext object. More... | |
| typedef enum pvaAlgosObjectClass pvaAlgosObjectClass |
Structure that holds configuration parameters for a Object detector.
| typedef struct ObjectDetectorContext* pvaAlgosObjectDetectorContext_t |
Structure that stores internal objects needed for Object Detector.
Definition at line 75 of file pva_algos_object_detector.h.
| enum pvaAlgosObjectClass |
Structure that holds configuration parameters for a Object detector.
| Enumerator | |
|---|---|
| PERSON | |
| OBJECT_CLASS_MAX | |
Definition at line 23 of file pva_algos_object_detector.h.
| pvaAlgosError_t pvaAlgosObjectDetectorDeInit | ( | pvaAlgosObjectDetectorContext_t * | ObjectDetectorContext | ) |
Frees the internal objects and the ObjectDetectorContext object.
| [in] | ObjectDetectorContext | The pointer to a ObjectDetectorContext object that stores the internal parameters needed for Object Detector |
| pvaAlgosError_t pvaAlgosObjectDetectorGetContext | ( | pvaAlgosObjectDetectorContext_t * | ObjectDetectorContext | ) |
Initializes ObjectDetectorContext object and sends it back to the caller.
| [in] | detectorContext | The pointer to a pvaAlgosObjectDetectorContext_t object that stores the internal parameters needed for Object Detector |
| pvaAlgosError_t pvaAlgosObjectDetectorInit | ( | pvaAlgosObjectDetectorContext_t * | ObjectDetectorContext, |
| pvaAlgosObjectDetectorConfig_t * | ObjectDetectorParams | ||
| ) |
Initializes the necessary values for the internal objects in pvaAlgosObjectDetectorContext_t object.
| [in] | ObjectDetectorContext | The pointer to a pvaAlgosObjectDetectorContext_t object that stores the internal parameters needed for Object Detector |
| [in] | ObjectDetectorParams | The pointer to a pvaAlgosObjectDetectorConfig_t object that stores the configuration parameters for Object Detector |
| pvaAlgosError_t pvaAlgosObjectDetectorProcess | ( | pvaAlgosObjectDetectorContext_t * | ObjectDetectorContext, |
| pvaAlgosObjectDetectorIOBuffer_t * | ObjectDetectorBuffers, | ||
| cupvaStream_t * | instanceStream, | ||
| int | execTimeout | ||
| ) |
Sets the I/O Buffers to the internal objects and runs the Object Detector Algorithm.
| [in] | ObjectDetectorContext | The pointer to a pvaAlgosObjectDetectorContext_t object that stores the internal parameters needed for Object Detector |
| [in] | ObjectDetectorBuffers | The pointer to a pvaAlgosObjectDetectorIOBuffer_t object that stores the I/O Buffers that change each frame |
| [in] | postFence | The pointer to a cupvaFence_t object needed for the synchronization across instructions sent to the PVA Engine |
| [in] | instanceStream | The pointer to a cupvaStream_t object needed to submit instructions to the PVA Engine |