[BUG]python cvcuda.cvtcolor cvcuda.ColorConversion.RGB2RGBA 转换的结果是 BGRA8
代码如下:
cvt_color_batch_result = cvcuda.cvtcolor(cvt_color_batch, cvcuda.ColorConversion.RGB2RGBA)
这个时候返回的format是BGRA8
我现在是用这个方式处理的: cvt_color_batch_result = cvcuda.cvtcolor(cvt_color_batch, cvcuda.ColorConversion.RGB2BGRA) cvt_color_batch_result = cvcuda.cvtcolor(cvt_color_batch_result, cvcuda.ColorConversion.BGRA2RGBA)
Translation to English: The code is as follows:
cvt_color_batch_result = cvcuda.cvtcolor(cvt_color_batch, cvcuda.ColorConversion.RGB2RGBA)
The format returned at this time is BGRA8
I am now processing it in this way: cvt_color_batch_result = cvcuda.cvtcolor(cvt_color_batch, cvcuda.ColorConversion.RGB2BGRA) cvt_color_batch_result = cvcuda.cvtcolor(cvt_color_batch_result, cvcuda.ColorConversion.BGRA2RGBA)
@shiqwang - could you please share what version of CV-CUDA are you using? Sorry for the inconvenience due to this unexpected output from cvtcolor op. Do you notice this issue with only this format or any other? Meanwhile, we will investigate this issue/potential bug at our end.
CC @dsuthar-nvidia