albu_to_yxyx#

albu_to_yxyx(xyxy: ndarray, img_size: Tuple[PositiveInt, PositiveInt]) ndarray[source]#

Albumentations format (i.e. normalized [ymin, xmin, ymax, xmax]) to unnormalized [ymin, xmin, ymax, xmax].

Parameters
  • xyxy (ndarray) –

  • img_size (Tuple[PositiveInt, PositiveInt]) –

Return type

ndarray