Plotting Centroid with CUDA

Hello,
I am trying a custom object detection and it is successfully working. However beyond drawing the overlay bbox, I tried to find the centre of the box and plot it as a circle so that I get a centroid right in the middle of the object. I tried to make changes to the source code (detectNet.cpp) from Jetson Inference C directory. Please let me know the problem to proceed further with my project.

Github Link To Code
Nvidia-2024-02-05_18.02.34-ezgif.com-video-to-gif-converter

Hi,

You can find the overlay of detectNet.cpp below:

Thanks.

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.