MCPcopy Create free account
hub / github.com/QuantumLiu/FaceSwapper / __init__

Method __init__

faceswapper.py:36–73  ·  view source on GitHub ↗

head_list: 头(背景和发型)来源图片的路径的字符串列表,根据此列表在实例化时载入多个头像资源, 并获得面部识别点坐标,以字典形式存储,键名为文件名 predictor_path: dlib资源的路径

(self,heads_list=[],predictor_path="./data/shape_predictor_68_face_landmarks.dat")

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers

nothing calls this directly

Calls 1

load_headsMethod · 0.95

Tested by

no test coverage detected