Skip to content

Add head bbox for Pyramid-Box model.#963

Merged
qingqing01 merged 2 commits intoPaddlePaddle:developfrom
qingqing01:face_detect_head_box
Jun 5, 2018
Merged

Add head bbox for Pyramid-Box model.#963
qingqing01 merged 2 commits intoPaddlePaddle:developfrom
qingqing01:face_detect_head_box

Conversation

@qingqing01
Copy link
Collaborator

Generate head bboxes based on face bboxes.

"""
expand_boxes = []
for bbox in bboxes:
xmin = bbox[0]
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

bbox[1:5]是xmin,ymin,xmax,ymax?

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

No, bbox[0:4]是xmin,ymin,xmax,ymax.

@qingqing01 qingqing01 force-pushed the face_detect_head_box branch from afc8166 to 06bb972 Compare June 5, 2018 03:47
@qingqing01 qingqing01 changed the title Add head bbox for Pyramid-Box model. Jun 5, 2018
@qingqing01 qingqing01 changed the title [Do Not Merge]Add head bbox for Pyramid-Box model. Jun 5, 2018
@baiyfbupt baiyfbupt self-requested a review June 5, 2018 05:32
Copy link
Contributor

@baiyfbupt baiyfbupt left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@qingqing01 qingqing01 force-pushed the face_detect_head_box branch from e3251a0 to 798a789 Compare June 5, 2018 05:36
@qingqing01 qingqing01 merged commit b6c505b into PaddlePaddle:develop Jun 5, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

2 participants