Skip to content

[BUG]python cvcuda.cvtcolor cvcuda.ColorConversion.RGB2RGBA 转换的结果是 BGRA8 #225

Open
@shiqwang

Description

@shiqwang

代码如下:

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)

Metadata

Metadata

Assignees

No one assigned

    Labels

    ? - needs triagebugSomething isn't working as expected (software, install, documentation)need more infoWaiting for more information from user

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions