MCPcopy Create free account
hub / github.com/IRVLUTD/UnseenObjectsWithMeanShift / translate

Function translate

lib/utils/augmentation.py:34–42  ·  view source on GitHub ↗

Translate img by tx, ty @param img: a [H x W x C] image (could be an RGB image, flow image, or label image)

(img, tx, ty, interpolation=cv2.INTER_LINEAR)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 1

random_translationFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected