microsoft / Deep3DFaceReconstruction

Accurate 3D Face Reconstruction with Weakly-Supervised Learning: From Single Image to Image Set (CVPRW 2019)
MIT License
2.18k stars 443 forks source link

why is the 2D landmark upside-down? #164

Open qingmeizhujiu opened 3 years ago

qingmeizhujiu commented 3 years ago

In the preprocess_img.py file, why done this operation: landmark = np.stack([landmark[:, 1], 223-landmark[:, 0]], axis=1) ?
When I show the landmark by opencv, the landmark is upside-down!!! But the training is normal.