Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Labels] min_score per label #164

Open
SHU-red opened this issue Oct 31, 2024 · 3 comments
Open

[Labels] min_score per label #164

SHU-red opened this issue Oct 31, 2024 · 3 comments
Labels
enhancement New feature or request

Comments

@SHU-red
Copy link

SHU-red commented Oct 31, 2024

Is your feature request related to a problem? Please describe.
As already discussed in #161, i would love to have a feature to set/override the min_score for specific labels to be able to e.g. set something like:

  • cat: min_score = 85
  • person: min_score = 80

Describe the solution you'd like
Being able to set in the config(-file) a separate min_score for specific labels

Below just a very basic option which may not be the best (just a proposal)

  labels:
    min_score:75
    allow:
     - person:80
     - dog:65
     - cat
    block:
     - bird

The example above shall:

  • use min_score as default for every label
  • if a label is followed by :dd the min_score for this specific is overridden

The result would be for the example above would be notification for the separate labels as follows

- persons at 80
- dogs at 65
- cats at 75
- birds never

Describe alternatives you've considered
Creating a section in the config for each available label but this would increase the complexity of the config file
But would also be fine for me

Additional context
Cats get recognized much worse in my case than humans, so i would like to fine tune these things on notification level and keep the events recorded ans stored in frigate

telegram-notify would be the perfect level of "score-filtering" for my taste

@0x2142
Copy link
Owner

0x2142 commented Oct 31, 2024

Thanks for opening this. I like the idea for how to implement as well, but I'll see how it looks when I work on this.

I will get this added to my list 👍

@SHU-red
Copy link
Author

SHU-red commented Oct 31, 2024

@freefd, referring to #161 (comment)

I "think" i do not even use sublabels
So not in my scope either for this issue

@freefd
Copy link
Contributor

freefd commented Oct 31, 2024

I "think" i do not even use sublabels
So not in my scope either for this issue

Yes, but it's more about how to analyze and design new features: not to forget to cover different user stories, even if they are not currently exposed in a specific use case ;)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

3 participants