OverLay modification

Dear all,

I would like to modify the kind of overlay applied to the image in the script detectnet-camera.py.

The idea is to add a simple circle around the feet of the detected person. Where can I modify the overlay behavior ?
Thank you in advance for your help.

Hi @adrien.laveau, here is where the detectNet overlay is implemented:

https://github.com/dusty-nv/jetson-inference/blob/1ed8908c7c6585a40c030634d75d5e89516c17f4/c/detectNet.cpp#L948

https://github.com/dusty-nv/jetson-inference/blob/1ed8908c7c6585a40c030634d75d5e89516c17f4/c/detectNet.cu#L91

Thank you very much for pointing out the scripts. I did some minor modification to fit my needs.
To apply my changes I would like to be sure that the following steps are the correct ones. Because it is working fine but maybe some steps are useless when I just modify one file
1- modifiy jetson-inference/c/detectNet.cu as needed
2- In the terminal :
$ cd jetson-inference/build

$ cmake …/

$ make

$ sudo make install

$ sudo ldconfig

Thank you !

If you are using it from Python, then you should indeed to these steps each time:

$ cd jetson-inference/build
$ cmake …/
$ make
$ sudo make install

You should be able to skip sudo ldconfig though. The others are needed to update the Python scripts and Python module libraries (otherwise you might not actually see your updated code when you go to run Python).