Skip to content

Add Global Drop Flag feature

This adds a testing version of a global drop flag that operates over all filters on a monitor to complement the existing drop flag that operates on a single detection filter. This will a new configuration setting to be added to the Global Object Detection settings. To allow for testing and feedback, it can be enabled by setting the monitor ID to start with 'DROP_' on a monitor.

  • Uses the opposite logic as detection filter drop flag. An event that is not matched by at least 1 rule will be dropped.
  • Makes using multiple detection filters on a single monitor more viable.

Premise: The existing drop flag makes writing rules difficult when you are testing for multiple things. As the existing drop flag drops on the first match, you are typically forced to pull all tests into 1 detection filter and match against what an object is not. For example, if you want to match a detected object as a 'Car or Truck and Region=Driveway', you will need to create a detection filter that tests for '!Car and !Truck and Region=Driveway'. This works for a single test, but if you want to test multiple combinations, it gets non-trivial.

Merge request reports