MCPcopy Index your code
hub / github.com/idootop/MagicMirror / _get_one_face

Function _get_one_face

src-python/magic/face.py:44–46  ·  view source on GitHub ↗
(face_path: str)

Source from the content-addressed store, hash-verified

42
43@lru_cache(maxsize=12)
44def _get_one_face(face_path: str):
45 face_img = _read_image(face_path)
46 return _tf.get_one_face(face_img)
47
48
49@lru_cache(maxsize=12)

Callers 1

_swap_faceFunction · 0.85

Calls 1

_read_imageFunction · 0.85

Tested by

no test coverage detected