Skip to content

Commit

Permalink
Update gen_landmark_aug_12.py
Browse files Browse the repository at this point in the history
  • Loading branch information
AITTSMD authored Sep 4, 2017
1 parent 4437e8e commit 7107251
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion prepare_data/gen_landmark_aug_12.py
Original file line number Diff line number Diff line change
Expand Up @@ -108,7 +108,7 @@ def GenerateData(ftxt, output,net,argument=False):
resized_im = cv2.resize(cropped_im, (size, size))
#cal iou
iou = IoU(crop_box, np.expand_dims(gt_box,0))
if iou > -1:
if iou > 0.65:
F_imgs.append(resized_im)
#normalize
for index, one in enumerate(landmarkGt):
Expand Down

0 comments on commit 7107251

Please sign in to comment.