From f242e19dfa2d85ae3afde5257f64c3fbf537fc4d Mon Sep 17 00:00:00 2001 From: Tim Gates Date: Thu, 24 Dec 2020 17:50:59 +1100 Subject: [PATCH] docs: fix simple typo, targer -> target There is a small typo in face_alignment/utils.py. Should read `target` rather than `targer`. --- face_alignment/utils.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/face_alignment/utils.py b/face_alignment/utils.py index c095ee2c..bdebbe19 100644 --- a/face_alignment/utils.py +++ b/face_alignment/utils.py @@ -72,7 +72,7 @@ def draw_gaussian(image, point, sigma): def transform(point, center, scale, resolution, invert=False): """Generate and affine transformation matrix. - Given a set of points, a center, a scale and a targer resolution, the + Given a set of points, a center, a scale and a target resolution, the function generates and affine transformation matrix. If invert is ``True`` it will produce the inverse transformation. @@ -149,7 +149,7 @@ def crop(image, center, scale, resolution=256.0): def transform_np(point, center, scale, resolution, invert=False): """Generate and affine transformation matrix. - Given a set of points, a center, a scale and a targer resolution, the + Given a set of points, a center, a scale and a target resolution, the function generates and affine transformation matrix. If invert is ``True`` it will produce the inverse transformation.