HRNet-Facial-Landmark-Detection icon indicating copy to clipboard operation
HRNet-Facial-Landmark-Detection copied to clipboard

How could I get the center and scale of wild images?

Open Zzlongjuanfeng opened this issue 5 years ago • 2 comments

In the WLFW model, the decoding of preds needs the center and scale to get final results. How could I get the center and scale of wild images (e.g. a cropped and resized face image)?

Zzlongjuanfeng avatar Aug 06 '19 06:08 Zzlongjuanfeng

the hrnet input size will be (256,256,3)

as far as i know : center=torch.tensor([[128.0,128.0]]) scale= torch.tensor([1.28])

so feed the network with 256*256 face image and u may get (a,98,2) results.

lucaskyle avatar Aug 09 '19 07:08 lucaskyle

#3

starhiking avatar Feb 28 '20 13:02 starhiking