In our system, the image format from camera is YUYV. We plan to use VPI to convert into RGB before transmitting it into neural network. But vpiSubmitConvertImageFormat returned an error message “VPI_ERROR_INVALID_IMAGE_FORMAT: CUDA: Conversion not implemented between VPI_IMAGE_FORMAT_YUYV and VPI_IMAGE_FORMAT_RGB8”.
Does it mean VPI do not support conversation between YUV and RGB for now? If it’s true, is there an effeicient way to convert the image from YUV to RGB since CPU is so slow.
There are some options in the VIC backend for the YUV format.
Please check the document below to see if it can meet your requirement:
But I can’t find yuyv in column “input type”.
Is MMAPI an option for you?
If yes, you can use it to convert the YUYV format into RGBA8.
What is MMAPI? Do you have any documents for it? Thanks.
You can find the sample in the below folder:
The corresponding document can be found in the below link:
This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.