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

Add the ability to define types for exclusion zones to either exclude or only include specific types #181

Open
JohannCR opened this issue Feb 11, 2023 · 5 comments
Labels
enhancement New feature or request must-have

Comments

@JohannCR
Copy link

JohannCR commented Feb 11, 2023

Say I need to detect "person" type objects and "dog" type objects with one Camera.
How can I make it so that dogs are only detected when in a specified zone, and persons detected anywhere in the frame ?

Thanks

@djdd87
Copy link
Owner

djdd87 commented Feb 11, 2023

Unfortunately you can't currently, but I don't see how it'd be a major task to amend the exclusion zones to have an optional "Types" array. This would require further development.

@djdd87 djdd87 changed the title How to define different exclusion zones for two types of objects ? Add the ability to define types for exclusion zones to either exclude or only include specific types Feb 11, 2023
@JohannCR
Copy link
Author

That would be great !

@JoeyJoe6
Copy link

JoeyJoe6 commented Mar 5, 2023

I work around this by adding additional cameras in SS. You can add the same camera multiple times and have a different camera name. In SynoAI you can set each camera to what you want it to do.
For example: You can have CAM1-person and CAM1-dogs. Both of these devices point to the same camera. In Synoai, you can modify the json for each camera for the detection zone for that object.

@JohannCR
Copy link
Author

JohannCR commented Mar 5, 2023

@JoeyJoe6 That's ingenious, but it requires an additional licence key to add the same camera twice, doesn't it ?

@JoeyJoe6
Copy link

JoeyJoe6 commented Mar 5, 2023

Unfortunally, yes it does use up another license.

@djdd87 djdd87 added enhancement New feature or request must-have labels Oct 5, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request must-have
Projects
None yet
Development

No branches or pull requests

3 participants