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

does loadImage use nvjpeg? #234

Open
gc625-kodifly opened this issue Jan 22, 2025 · 0 comments
Open

does loadImage use nvjpeg? #234

gc625-kodifly opened this issue Jan 22, 2025 · 0 comments

Comments

@gc625-kodifly
Copy link

Hi, I am trying to convert ros CompressedImages directly to pytorch tensors for inference. Previously I the built in ros cv_bridge to covert into np array, then convert torch tensor on the gpu. However I believe cv_bridge only uses cpu decoding, and I would like to decode the images directly to the gpu. jetson has a dedicated nvjpeg hardware to do jpeg decoding, so ideally I would like to use nvjpeg to do the decoding. Are there any functions in jetson-utils that can accomplish this? the closest thing I found was loadimage, but It appears like it does not use nvjpeg.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant