jhb86253817 / PIPNet

Efficient facial landmark detector
MIT License
413 stars 82 forks source link

crop process issue #52

Open BerylLuo opened 1 year ago

BerylLuo commented 1 year ago

https://github.com/jhb86253817/PIPNet/blob/b9eab58816437403a34aa5bc3adeafe5081fd36b/lib/demo_video.py#L101

Should line101 be changed to: det_ymin -= int(det_height * (det_box_scale - 1) / 2)

same in demo.py

huangxin168 commented 1 year ago

https://github.com/jhb86253817/PIPNet/blob/b9eab58816437403a34aa5bc3adeafe5081fd36b/lib/demo_video.py#L101

Should line101 be changed to: det_ymin -= int(det_height * (det_box_scale - 1) / 2)

same in demo.py

see the paper, landmark detector need to crop some forehead.