Python detectNet: Can’t Set Threshold inside of the argv list

I cannot seem to set a threshold when calling detectNet:

net = jetson.inference.detectNet(argv=['--threshold=0.3', ...

I did like mentioned in
https://forums.developer.nvidia.com/t/python-detectnet-cant-set-threshold/173656
but it didn’t resolve the problem.

Hi @piotrekszczypta, hmm odd (that should work). Can you just try calling net.SetThreshold(0.3) instead after?

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