提交 cc550481 编写于 作者: Eric.Lee2021's avatar Eric.Lee2021 🚴🏻

update

上级 0493e5b4
......@@ -163,7 +163,7 @@ class LoadImagesAndLabels(Dataset):
pt_right = (x_max+random.randint(-offset_x,offset_x),(y_min+y_max)/2+random.randint(-offset_y,offset_y))
angle_random = random.randint(-180,180)
scale_x = float(random.randint(20,32))/100.
hand_rot,pts_tor_landmarks = hand_alignment_aug_fun(img_ago,pt_left,pt_right,
hand_rot,pts_tor_landmarks,_ = hand_alignment_aug_fun(img_ago,pt_left,pt_right,
facial_landmarks_n = pts_,\
angle = angle_random,desiredLeftEye=(scale_x, 0.5),
desiredFaceWidth=img_size[0], desiredFaceHeight=None,draw_flag = True)
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册