未验证 提交 5956ebf3 编写于 作者: A Adam Geitgey 提交者: GitHub

Merge pull request #1187 from vishnukvmd/patch-1

Fix minor error in documentation detailing the default model in use for face_encodings
......@@ -207,7 +207,7 @@ def face_encodings(face_image, known_face_locations=None, num_jitters=1, model="
:param face_image: The image that contains one or more faces
:param known_face_locations: Optional - the bounding boxes of each face if you already know them.
:param num_jitters: How many times to re-sample the face when calculating encoding. Higher is more accurate, but slower (i.e. 100 is 100x slower)
:param model: Optional - which model to use. "large" (default) or "small" which only returns 5 points but is faster.
:param model: Optional - which model to use. "large" or "small" (default) which only returns 5 points but is faster.
:return: A list of 128-dimensional face encodings (one for each face in the image)
"""
raw_landmarks = _raw_face_landmarks(face_image, known_face_locations, model)
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册