Hi there,
I have a system with YUV sensors, and I want the multi-camera demo to continue streaming when one of the sensors stops.
I believe that I need to initialize the error_frame_raw_image member of the capture object.
The following function call in create_error_detection_frame:
captureObj->error_frame_raw_image = tivxCreateRawImage(context, &(sensorParams->sensorInfo.raw_params));
fails with this error message:
VX_ZONE_ERROR:[ownIsValidCreateParams:72] invalid pixel_container for exposure index 0.
So, it looks like tivxCreateRawImage doesn't like the VX_DF_IMAGE_UYVY format.
I looked at replacing the tivxCreateRawImage with vxCreateImage, but the types returned by these two functions don't seem to have anything in common.
Is there a straight way to add YUV support to create_error_detection_frame that maybe I missed?
Thanks.