Open saif-mahmud opened 3 years ago
I haven't found gen_anchor() function in this file utils.paf (https://github.com/cleardusk/3DDFA/blob/master/utils/paf.py). @huguesva Can you please help me?
gen_anchor()
utils.paf
https://github.com/huguesva/Face-Anti-Spoofing-Neural-Network/blob/b1cb3a30af1c1a7390d03473a1bb304c4686842d/data_processing/data_process2.py#L139
You can use gen_img_paf() in paf.py There is anchor[anchor >= std_size - delta - 1] = std_size - delta - 1 return anchor and you can get Anchor
gen_img_paf()
paf.py
anchor[anchor >= std_size - delta - 1] = std_size - delta - 1
anchor
Anchor
I haven't found
gen_anchor()
function in this fileutils.paf
(https://github.com/cleardusk/3DDFA/blob/master/utils/paf.py). @huguesva Can you please help me?https://github.com/huguesva/Face-Anti-Spoofing-Neural-Network/blob/b1cb3a30af1c1a7390d03473a1bb304c4686842d/data_processing/data_process2.py#L139