_norm_bbox

cocohelper.transforms.crop._norm_bbox(xywh, img_shape, mode=SizeMode.pixel)[source]
Parameters:
  • xywh (Tuple[int, int, int, int]) –

  • img_shape (Tuple[int, ...]) –

Return type:

Tuple[int, int, int, int]