all_keypts_visible
- hybrid_learning.datasets.custom.coco.keypoints_processing.all_keypts_visible(ann, keypoint_idxs)[source]
Whether all given keypoints are marked as visible in the given annotation.
- Parameters
keypoint_idxs (Optional[Sequence[int]]) – keypoint constraints: starting indices of keypoints in the
keypoint
list of the annotation that must be marked as visible (cf.to_keypoint_idxs()
); ifNone
or empty,True
is returned for the annotation to be regarded valid
- Returns
whether all specified keypoints are marked as visible in the annotation
- Return type