dabble.check_large_groups
Description
Checks if number of objects in a group exceeds a threshold.
- class Node(config=None, **kwargs)[source]
Checks which groups have exceeded the group size threshold. The group associated with each object is accessed by the
groups
key of obj_attrs.- Inputs
obj_attrs
(Dict[str, Any]
): A dictionary of attributes associated with each bounding box, in the same order as bboxes. Different nodes that produce this obj_attrs output type may contribute different attributes.dabble.check_large_groups
requires thegroups
attribute.- Outputs
large_groups
(List[int]
): A list of integers representing the group IDs of groups that have exceeded the size threshold.- Configs
group_size_threshold (
int
) – default = 5.
Threshold of group size.