guoqiangqi / PFLD

Implementation of PFLD A Practical Facial Landmark Detector , reference to https://arxiv.org/pdf/1902.10859.pdf
626 stars 166 forks source link

SetPrepartion Wrong in copyMakeborader #81

Closed starhiking closed 4 years ago

starhiking commented 4 years ago

https://github.com/guoqiangqi/PFLD/blob/e612a5bdf3468e90d5e4c06d3aad626698a9d739/data/SetPreparation.py#L134-L138

copyMakeBorader will modify the image size,so landmarks need to be same modified as the image