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] cvcuda::Remap does not output the correct result on orin, and x86 runs coredump #224

Open
Xiao-Hu-Z opened this issue Jan 8, 2025 · 0 comments
Labels
bug Something isn't working as expected (software, install, documentation)

Comments

@Xiao-Hu-Z
Copy link

src_img = nvcv::Tensor(n_img_, {img_w_, img_h_}, nvcv::FMT_RGB8);
dst_img = nvcv::Tensor(n_img_, {img_w_, img_h_}, nvcv::FMT_RGB8);

bool   alignCorners{true};
float4 borderValue{0, 0, 0, 0};
cvcuda::Remap remap_op;
remap_op(stream_, src_img, dst_img, map_tensor_, NVCV_INTERP_NEAREST, 
    NVCV_INTERP_NEAREST, NVCV_REMAP_ABSOLUTE_NORMALIZED, static_cast<int8_t>(alignCorners),
    NVCV_BORDER_CONSTANT, borderValue);
@Xiao-Hu-Z Xiao-Hu-Z added the bug Something isn't working as expected (software, install, documentation) label Jan 8, 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