Jetson Xavior NX, Python, jetson-utils
How do I draw a square box using cudaOverlay(). I am using python and can’t figure out how this is done. I searched the forum and didn’t find any example to do this. I read that it can be done but no clear example Python code was given.
I have a the topleft,toprignt,bottomright,bottomleft points and need to draw a rectangle with the x dimensions plus I don’t want the area to be filled in. just the outside with lines that are about 1 to 2 pixels thick.
I have a cudaimage that I want to draw these lines on. I am currently doing it in opencv, but I don’t want to convert to numpy and back , as this seems to be less efficient.
Another issue is I need to convert my color space. RGB>BGR and BGR>RGB. Can i do that using jetson-utils? I also am doing that in opencv but that is slow and I want to use the gpu to do that as well.