Skip to content

[edge_orchestrator] Add data validation in CameraRuleConfig #104

Description

@bojeanson

Description

Add data validation to check that:

If self.camera_rule_type in [CameraRuleType.MIN_NB_OBJECTS_RULE, CameraRuleType.MAX_NB_OBJECTS_RULE] and  (self.class_to_detect and self.threshold) Then
Raise Exception"..."

Acceptance criteria

Stricter data validation

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions