Initialize the Sensor Abstraction Layer
Initialize the parameter string for a camera sensor, in this case we request a processed image (yuv), a camera ar0231-rccb with sf3324 module and BAE exposure type at group C. We specify a gmsl protocol and create the sensor
after starting the sensor, the camera will start acquiring frames
We read a frame, which is stored as a dwCameraFrameHandle_t
and specify a timeout value in microseconds
many outputs can be return after reading, the only extra cost are eventual streaming and conversion, depending on the output chosen. Also the output type is influenced by how we created the camera. Since we specified processed image (yuv), we can request a processed image as output. In order to know what properties such an image has, it is possible to call dwSensorCamera_getImageProperties()
with dwCameraOutputType
equal to DW_CAMERA_OUTPUT_NATIVE_PROCESSED
.
return frames to the fifo
stop the sensor and release
For more details see: