cleardusk / 3DDFA

The PyTorch improved version of TPAMI 2017 paper: Face Alignment in Full Pose Range: A 3D Total Solution.
MIT License
3.6k stars 651 forks source link

The meaning of roi in the label of 300w-lp #201

Open QcQcM opened 3 years ago

QcQcM commented 3 years ago

Thank you for your outstanding work and willingness to make the code public. I want to use 300w-lp to train my network, but I need to know the face area in the picture. I noticed that there is a roi field in the .mat tag. Is it a face bounding box calibration? If so, there is a negative value, how to restore the coordinates of the face bounding box corresponding to the image?

cleardusk commented 3 years ago

Face bounding box can be parsed by parse_roi_box_from_landmark . pts parameter is the reconstructed 68 3D landmarks.