I tried mixing 2 of NVIDIA’s demo drops:
a) The “2 days to a demo” tutorial on Jetson provides example networks for classification, detection and segmentation. I used the trained facenet-120 network for detection.
b) Deepstream comes with a config file and Resnet built in.
I used the facenet-120 network in the DeepStream config file(instead of ResNet), and ran DeepStream on a video file with faces. The video ran through fine, but didn’t show any boxes around the faces.
• model-file
• proto-file
• model-cache, if already generated
• labelfile-path
• mean-file, if required
• offsets, if required
• parse-func, must be set to 0, used for detectors
• parse-bbox-func-name, for detectors
• parse-bbox-lib-name, for detectors
You can find more information in our document:
➤ Application Customization
➤ Custom Open Model
AastaLLL, thanks for those suggestions. I tried them out, but still am not seeing any boxes around the faces.
Considering that these are both NVIDIA demos (without any customer specific files), it would be helpful if you (or someone from NVIDIA) could try this out, and provide the new Deepstream configuration file that successfully shows faces. Perhaps it needs some more parameters to be tuned.
That’s very much appreciated, thank you. It works quite well now.
I see that the main differences are: net-scale-factor of 1, instead of the prior 0.003, and a small change in the network topology (removal of one layer, and a change in the input image size). Of course, the network weights are different, I’m sure.
The rest of the DeepStream parameters have not changed much, (or the changes are No-ops).
Very nice to hear back from NVIDIA with a working solution. Thanks again.
A follow-up question on Comment #2, where you provided a parser function. Where can I find documentation on writing similar parser functions for different types of DNNs?
Do they still need to be adjusted in case of use of github DeepStream sample?
In my case I can specify uri file and see it as playing either with app-gui or without gui, but I can not see vehicles detected.