未验证 提交 feb32626 编写于 作者: E Elisha Hollander 提交者: GitHub

Fix typo (#237)

上级 5c96b428
...@@ -23,7 +23,7 @@ from .dlib_utils import detect, landmarks ...@@ -23,7 +23,7 @@ from .dlib_utils import detect, landmarks
def align_crop(image: Image): def align_crop(image: Image):
faces = detect(image) faces = detect(image)
assert len(faces) > 0, 'can not detect face!!!' assert len(faces) > 0, 'Cannot detect face!!!'
face = get_max_face(faces) face = get_max_face(faces)
lms = landmarks(image, face) lms = landmarks(image, face)
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册