MCPcopy Create free account
hub / github.com/VincentHancoder/SSGD / bbox_flip

Method bbox_flip

mmdet/datasets/pipelines/transforms.py:396–428  ·  view source on GitHub ↗

Flip bboxes horizontally. Args: bboxes (numpy.ndarray): Bounding boxes, shape (..., 4*k) img_shape (tuple[int]): Image shape (height, width) direction (str): Flip direction. Options are 'horizontal', 'vertical'. Returns:

(self, bboxes, img_shape, direction)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 1

__call__Method · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected