MCPcopy Create free account
hub / github.com/csxmli2016/DFDNet / transform

Function transform

FaceLandmarkDetection/face_alignment/utils.py:56–89  ·  view source on GitHub ↗

Generate and affine transformation matrix. Given a set of points, a center, a scale and a targer resolution, the function generates and affine transformation matrix. If invert is ``True`` it will produce the inverse transformation. Arguments: point {torch.tensor} -- the inp

(point, center, scale, resolution, invert=False)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 2

cropFunction · 0.85
get_preds_fromhmFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected