From c6a98f66671375206b40694c8a4332a4263d8bdb Mon Sep 17 00:00:00 2001 From: Nicolas Mowen Date: Fri, 21 Nov 2025 09:09:02 -0700 Subject: [PATCH] Add docs to explain object assignment for classification --- .../custom_classification/object_classification.md | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/docs/docs/configuration/custom_classification/object_classification.md b/docs/docs/configuration/custom_classification/object_classification.md index cff8a6cad..72c766868 100644 --- a/docs/docs/configuration/custom_classification/object_classification.md +++ b/docs/docs/configuration/custom_classification/object_classification.md @@ -35,6 +35,15 @@ For object classification: - Ideal when multiple attributes can coexist independently. - Example: Detecting if a `person` in a construction yard is wearing a helmet or not. +## Assignment Requirements + +Sub labels and attributes are only assigned when both conditions are met: + +1. **Threshold**: Each classification attempt must have a confidence score that meets or exceeds the configured `threshold` (default: `0.8`). +2. **Class Consensus**: After at least 3 classification attempts, 60% of attempts must agree on the same class label. If the consensus class is `none`, no assignment is made. + +This two-step verification prevents false positives by requiring consistent predictions across multiple frames before assigning a sub label or attribute. + ## Example use cases ### Sub label