Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
shiqwang opened this issue Jan 16, 2025 · 0 comments
Labels
bug Something isn't working as expected (software, install, documentation)

Comments

@shiqwang
Copy link

代码如下:

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)

@shiqwang shiqwang added the bug Something isn't working as expected (software, install, documentation) label Jan 16, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working as expected (software, install, documentation)
Projects
None yet
Development

No branches or pull requests

1 participant