About meanshape.npz
HI, thanks for your code. I opened the meanshape.npz. And all 68 landmarks in the training set should be positive numbers. I want to know why there are negative numbers in the meanshape.npz?
Hi, As far as I remember the mean shape is centered on (0,0) hence some of the landmarks positions maybe negative.
Marek
Thanks, (0,0) refers to the upper left corner of the picture or the center point?
By (0,0) here I mean that the centroid of all the landmark positions in the mean shape is (0,0), irrespective of the image. When the landmarks are placed in the image the coordinates of the image center are added and the mean shape is scaled appropriately.
thank you . Now I am testing with testset. Why are the images in the testset not normalized in TestSetPreparation.py?
I can't remember the rational behind not processing it then and there. The images are normalized during evaluation however.
Can i get meansape.npz?
The mean face shape file is in the data directory: https://github.com/MarekKowalski/DeepAlignmentNetwork/tree/master/data