You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
def annotate_landmarks(im, landmarks):
im = im.copy()
for idx, point in enumerate(landmarks):
pos = (point[0, 0], point[0, 1])
cv2.putText(im, str(idx), pos,
fontFace=cv2.FONT_HERSHEY_SCRIPT_SIMPLEX,
fontScale=0.4,
color=(0, 0, 255))
cv2.circle(im, pos, 3, color=(0, 255, 255))
return im
Which I assume was used to generate like this image. However, the code was never used and despite my attempts I can't seem to get it working. Can you show me how it worked?
The text was updated successfully, but these errors were encountered:
In faceswap.py there is this chunk of code:
Which I assume was used to generate like this image. However, the code was never used and despite my attempts I can't seem to get it working. Can you show me how it worked?
The text was updated successfully, but these errors were encountered: