Can’t seem to see the argument correspondence (position & type) between the c++ util program and the python program like:
/home/my-name/jetson-inference/build/aarch64/bin/cuda-examples.py
having code like:
import jetson.utils
jetson.utils.cudaDrawLine(color_img, (25,150), (325,15), (255,0,200,200), 10)
color_img = input
(25,150) = x1,y1
(325,15) = x2,y2
(255,0,200 = color
200) = light transmission
10 = line width
and the C++ util programs:
/home/my-name/jetson-inference/utils/cuda/cudaDraw.cu & cudaDraw.h
having code like:
cudaError_t cudaDrawLine( void* input, void* output, size_t width, size_t height, imageFormat format, int x1, int y1, int x2, int y2, const float4& color, float line_width )
Where and what translates the positions between the calling python program and the util programs? Some
arguments seem missing from the calling python program .
I understands there is a program that decodes types between C++ and python but I don’t know if that’s in play here.
And yes this may be a basic C++ Python question. But if you could steer me in the right direction I’d appreciate it.