Add a few codes to show the face landmarks
JianjinChen opened this issue · 3 comments
JianjinChen commented
DuinoDu commented
Thanks.
Jay-Liu commented
wow,you guys are amazing! Thank you so so much
PrinceP commented
def draw_point(img,p,color):
cv2.circle(img, p, 2, color, 1,8,0)
def drawPoints(im, points):
rows,cols = points.shape
hcols = int(cols/2)
for j in range(rows):
for i in range(hcols):
draw_point(im, (points[j][i], points[j][i+hcols]), (255,204,204) )
return im