Detection Filter
Detection Filter microservice suppliments the Object Detection Kafka topic produced by the other microservices.
Note: For each detection filter a separate microservice needs to be run.
The filter is configured by .json
configuration files. For further details on
the configuration, see Configuring Detection Filter.
If no areas are specified in the microservice configuration, the entire frame is considered as a positive area.
The microservice works the following way:
- Detection Filter checks if the detection reaches the confidence level.
- Detection Filter checks if the detection type matches the ones configured. If no detection types are defined, all detections are included.
- Detection Filter checks if the detection does not fall into a negative area.
- Detection Filter checks if the detection falls into a positive area. If no positive areas are defined, the detection is considered to be in a positive area.
If the detection passes all checks, it is included in the produced topic.