Defines blindness detector process pipeline methods based on BlindnessDetector and ClearSightNet.
Enumerations | |
| enum | dwBlindnessDetectorDLAStage { DW_BLINDNESS_DETECTOR_DLA_STAGE_GPU_ASYNC_PREPROCESSING = 0, DW_BLINDNESS_DETECTOR_DLA_STAGE_DLA_ASYNC_INFERENCE = 1, DW_BLINDNESS_DETECTOR_DLA_STAGE_GPU_ASYNC_INTERPRET_DETECTIONS = 2, DW_BLINDNESS_DETECTOR_DLA_STAGE_CPU_POSTPROCESSING = 3, DW_BLINDNESS_DETECTOR_DLA_STAGE_COUNT = 4 } |
| Defines the DLA processing stages of a blindness detector. More... | |
| enum | dwBlindnessDetectorStage { DW_BLINDNESS_DETECTOR_STAGE_GPU_ASYNC_PREPROCESSING = 0, DW_BLINDNESS_DETECTOR_STAGE_GPU_ASYNC_INFERENCE = 1, DW_BLINDNESS_DETECTOR_STAGE_GPU_ASYNC_INTERPRET_DETECTIONS = 2, DW_BLINDNESS_DETECTOR_STAGE_CPU_POSTPROCESSING = 3, DW_BLINDNESS_DETECTOR_STAGE_COUNT = 4 } |
| Defines the GPU processing stages of a blindness detector. More... | |
Functions | |
| DW_API_PUBLIC dwStatus | dwBlindnessDetector_bindInput (const dwImageCUDA *const *inputImages, uint32_t numImages, dwBlindnessDetectorHandle_t handle) |
| This method binds the input to the detector as a list of images. More... | |
| DW_API_PUBLIC dwStatus | dwBlindnessDetector_bindOutput (dwBlindnessDetectionOutput *detection, uint32_t frameIdx, dwBlindnessDetectorHandle_t handle) |
| This method binds the ouput of the blindness detector. More... | |
| DW_API_PUBLIC dwStatus | dwBlindnessDetector_process (dwBlindnessDetectorStage stage, dwBlindnessDetectorHandle_t handle) |
| Processes the input frame according to the stage assigned in the GPU pipeline. More... | |
| DW_API_PUBLIC dwStatus | dwBlindnessDetector_processDLA (dwBlindnessDetectorDLAStage stage, dwBlindnessDetectorHandle_t handle) |
| Processes the input frame according to the stage assigned in the DLA pipeline. More... | |
Defines the DLA processing stages of a blindness detector.
Definition at line 66 of file BlindnessDetector_processPipeline.h.
Defines the GPU processing stages of a blindness detector.
Definition at line 57 of file BlindnessDetector_processPipeline.h.
| DW_API_PUBLIC dwStatus dwBlindnessDetector_bindInput | ( | const dwImageCUDA *const * | inputImages, |
| uint32_t | numImages, | ||
| dwBlindnessDetectorHandle_t | handle | ||
| ) |
This method binds the input to the detector as a list of images.
| [in] | inputImages | CUDA frame array to be bound and processed for detection. |
| [in] | numImages | Number of frames provided in the array. |
| [in] | handle | Specifies the BlindnessDetector handle. |
| DW_API_PUBLIC dwStatus dwBlindnessDetector_bindOutput | ( | dwBlindnessDetectionOutput * | detection, |
| uint32_t | frameIdx, | ||
| dwBlindnessDetectorHandle_t | handle | ||
| ) |
This method binds the ouput of the blindness detector.
| [in] | detection | A user pointer to be bound and filled with detection information. |
| [in] | frameIdx | The frame index corresponds to the detection to be bound. |
| [in] | handle | Specifies the BlindnessDetector handle. |
| DW_API_PUBLIC dwStatus dwBlindnessDetector_process | ( | dwBlindnessDetectorStage | stage, |
| dwBlindnessDetectorHandle_t | handle | ||
| ) |
Processes the input frame according to the stage assigned in the GPU pipeline.
| [in] | stage | the processing stage to be executed. |
| [in] | handle | A blindness detector handle. |
| DW_API_PUBLIC dwStatus dwBlindnessDetector_processDLA | ( | dwBlindnessDetectorDLAStage | stage, |
| dwBlindnessDetectorHandle_t | handle | ||
| ) |
Processes the input frame according to the stage assigned in the DLA pipeline.
| [in] | stage | the processing stage to be executed. |
| [in] | handle | A blindness detector handle. |