Skip to content
This repository has been archived by the owner on Mar 19, 2023. It is now read-only.

Allow setting a confidence per target

Compare
Choose a tag to compare
@robmarkcole robmarkcole released this 15 Jan 05:21
· 34 commits to master since this release
823f3be

Previously all targets had to use the same confidence threshold for detections. This was very limiting, as some classes are detected more easily by Deepstack than others. In this release you can now configure a confidence per target, and also for types of target. An example of the new config is below:

    targets:
      - target: vehicle
        confidence: 60
      - target: car
        confidence: 40

Here we are saying 'alert me about any vehicle with confidence above 60%, but I particularly care about cars (which is a type of vehicle) so alert me about any car above 40%'.

Note this is a breaking change only if you have configured targets, and you will need to update your config. If you have not configured targets your config is unaffected.