SynoAI icon indicating copy to clipboard operation
SynoAI copied to clipboard

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

Open JohannCR opened this issue 3 years ago • 5 comments

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

JohannCR avatar Feb 11 '23 11:02 JohannCR

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 avatar Feb 11 '23 11:02 djdd87

That would be great !

JohannCR avatar Feb 11 '23 11:02 JohannCR

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.

JoeyJoe6 avatar Mar 05 '23 13:03 JoeyJoe6

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

JohannCR avatar Mar 05 '23 13:03 JohannCR

Unfortunally, yes it does use up another license.

JoeyJoe6 avatar Mar 05 '23 16:03 JoeyJoe6