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

Question: Negative doesn't seem to work as expected #75

Open
atkulp opened this issue Dec 21, 2022 · 1 comment
Open

Question: Negative doesn't seem to work as expected #75

atkulp opened this issue Dec 21, 2022 · 1 comment

Comments

@atkulp
Copy link

atkulp commented Dec 21, 2022

I've created a detection profile that uses a camera in my garage to detect if the car is there or not. I've created one profile checking if "car" is detected with more than 60% accuracy (due to the extreme angle, it doesn't look like a car as much in the image, plus there's a cargo rack on top). I'd also like to detect it not being there so I created a negative car profile. Should I invert the confidence? When I look at the detection events when the garage is empty, there is no prediction relating to car, so no relevant profile. Any ideas, or what else can I provide for details?

@akmolina28
Copy link
Owner

Negative profiles were added as an afterthought and are admittedly confusing. The negative flag simply inverts when the automations are triggered. Everything else works the same.

The AI parameters should be the same as if you were trying to match that object, and the negative flag just triggers the automations when the event is NOT relevant to the profile.

So if a car is detected, it would match your negative profile as a relevant event and the automations would NOT trigger. Conversely, if a car is NOT detected, the event would be NOT relevant, and the automations for your negative profile would trigger.

I use a negative profile for the car in my garage and part of the problem is that when there is no car, there is no motion to trigger the garage cam. So I am using node-red to periodically take a snapshot from that camera rather than relying on motion alone.

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

No branches or pull requests

2 participants