StevenBanama / C3AE

C3AE implement
BSD 2-Clause "Simplified" License
86 stars 16 forks source link

what is the exact different scales of one face? #3

Closed MoonBunnyZZZ closed 5 years ago

MoonBunnyZZZ commented 5 years ago

In the paper, three granularity levels images of one face were crop.What is the exact size of the three images? @StevenBanama

StevenBanama commented 5 years ago

you can find my proccessing code in function named "gen_boundbox". I have attamptted to measure the scale of origin paper.

[(xmin - w_h_margin, ymin - w_h_margin), (xmax + w_h_margin, ymax + w_h_margin)], # outter box [(nose_x - top2nose, nose_y - top2nose), (nose_x+top2nose, nose_y + top2nose)], # middle box [(nose_x - w//2, nose_y - w//2), (nose_x + w//2, nose_y + w//2)] # outer box # inner box

StevenBanama commented 5 years ago

@MoonBunnyZZZ you can find origin picture in the dataset, and you can get three bound box if do it as above.
if you are in China, you'd better open a vpn to see the cropped picture in the README. Or you must clone the repos and you can find what you want in the dir named "assets" in my repos.

MoonBunnyZZZ commented 5 years ago

Thank you very much