Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions face_alignment/utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -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.

Expand Down Expand Up @@ -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.

Expand Down