We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 03257a8 commit 7e6602aCopy full SHA for 7e6602a
face_alignment/utils.py
@@ -57,7 +57,7 @@ def draw_gaussian(image, point, sigma):
57
g = _gaussian(size)
58
gauss_kernel = g
59
else:
60
- g = gauss_kernel.clone()
+ g = gauss_kernel
61
g_x = [int(max(1, -ul[0])), int(min(br[0], image.shape[1])) - int(max(1, ul[0])) + int(max(1, -ul[0]))]
62
g_y = [int(max(1, -ul[1])), int(min(br[1], image.shape[0])) - int(max(1, ul[1])) + int(max(1, -ul[1]))]
63
img_x = [int(max(1, ul[0])), int(min(br[0], image.shape[1]))]
0 commit comments