Event Filters decide which detections are worth keeping. Use them to stop recording every passing cat, or to only ever be alerted about people.
Cannot find the Event Filters option? Switch Simple to Advanced in the bottom right corner of the Monitor Settings.
A filter is a list of conditions plus what to do about them. Each condition row reads like a sentence:
Object Tag Contains person
Rows are joined with AND or OR, set at the end of each row. Shinobi checks all the rows, then decides whether the filter matched.
The Drop Event setting is the important one. It has three choices:
This is the most common thing people want, and the easiest to get wrong. To only keep people, cars and trucks, build it like this:
Object Tag Contains person OR
Object Tag Contains car OR
Object Tag Contains truck
Drop Event: On Condition Failure
Read it as: "if it is a person, a car or a truck, keep it — otherwise throw it away."
Do not build it the inverted way. Stacking Does Not Contain rows joined with AND and setting Drop Event to On Condition Succeed looks like it should do the same thing, but it does not. That combination removes objects one row at a time, so each row strips out the very objects the other rows were trying to keep. It appears to work with a single tag and quietly breaks as soon as you add a second.
The reverse is simpler. To ignore cats entirely:
Object Tag Contains cat
Drop Event: On Condition Succeed
person or car.
HH:MM:SS.
Comparisons are Equal to, Not Equal to, Contains and Does Not Contain, plus the usual greater/less than options for numbers.
Rows about objects — tag, confidence, size and position — are checked against every object in the event, not just the first one.
Leave Drop Event on No and the filter becomes a way to change what happens when its conditions match:
Any action left on Original Choice keeps whatever the Monitor is already set to do. So a filter like "Object Tag Contains person" with Use Record Method set will record only when a person shows up, while still leaving other detections alone.
( needs a matching ). If they do not balance, Shinobi ignores all of them and logs a warning.