If you can record a video stream that reproduces the same behaviour, that would be helpful for us to debug.
class-attrs- config property are all working as expected. But keep in mind that ‘post-clustering-threshold’ is not applicable to group rectangles type of clustering because of the reason i mentioned above.
We will get back to regarding the question about ‘mindetectorConfidence’
Any detector bboxes that have confidence values lower than mindetectorConfidence would be discarded and not be tracked by the tracker. So if you expect the detector confidence values of -0.1, then it would be better to set mindetectorConfidence: -1
By setting mindetectorConfidence: -1, you don’t filter out any bboxes. So I recommend you set it that way if you don’t use any clustering mode in detector.
I want to try and filter out false detections. So was thinking of using mindetectorConfidence: 0.8 for example. But my question is - will this even work since the detector is not properly setting the confidence values?
Sorry for all the replies but its very hard to work this out from your responses.
If you use DBSCAN or NMS in PGIE, the confidence values of detector bboxes will be >=0. Then you can use mindetectorConfidence in tracker to filter out some false positives.
You dont need to apply any patch for nvinfer plugin in DS 5.0. The confidence values from PGIE will only be added to the metadata if you choose NMS or DBSCAN as the clustering type. For group rectangles mode of clustering, confidence values would be -0.1 for all objects.
Hi Jason,
As mentioned, all confidence from primary detector are -0.1 in your case. For boxes with values near 1.0, they are not detected by primary detector, but discovered by tracker only. So currently their confidence values are given by tracker. In GA release coming soon, we will have separate confidence fields for detector and tracker so they will not be mixed together.
Hi @robby_nvida if you use DBSCAN or NMS you wont get the negative values from the nvinfer element - its only happening with group rectangles (which is the default in the sanmle config files).
Hi, I’ve set cluster-mode to 1 and it was not working. I just cleaned and compiled it a few times changing strings and stuff (nothing directly related to deepstream or confidence) and suddenly it started working. Now it displays the confidence values.
I’ll keep investigating and I’ll post it here as soon as I find the reason of this misbehaviour in my PC. Hopefully it will help someone in the future.