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

Function crop

FaceLandmarkDetection/face_alignment/utils.py:92–129  ·  view source on GitHub ↗

Center crops an image or set of heatmaps Arguments: image {numpy.array} -- an rgb image center {numpy.array} -- the center of the object, usually the same as of the bounding box scale {float} -- scale of the face Keyword Arguments: resolution {float} -- the

(image, center, scale, resolution=256.0)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 1

Calls 1

transformFunction · 0.85

Tested by

no test coverage detected