jetson-utils icon indicating copy to clipboard operation
jetson-utils copied to clipboard

add some cuda conversion to avoid useless conversion

Open nicolas-beaufort opened this issue 5 years ago • 1 comments

This pull-request add some cuda conversion to avoid useless conversion like NV12ToBGR8.

nicolas-beaufort avatar Jun 04 '19 13:06 nicolas-beaufort

@nicolas-beaufort @dusty-nv Nicolas Beaufort's code worked perfectly to solve the issue of having 0s as camera image data with the following changes to gstCamera.cpp and gstCamera.h:

  • camera/gstCamera.cpp
    • CaptureRGBA (line 280): (void** output) instead of float
    • ConvertRGBA (line 302): (void** output) instead of float
  • camera/gstCamera.h
    • CaptureRGBA (line 78): (void** output) instead of float
    • ConvertRGBA (line 82): (void** output) instead of float

If the appropriate changes above are made, #5 with dusty-nv/jetbot_ros#7 will solve dusty-nv/jetbot_ros#2 .

auroraborghi avatar Oct 03 '19 19:10 auroraborghi