face-alignment
face-alignment copied to clipboard
A problem about "img_gray"
if size(img_region, 3) == 1
Data{i}.img_gray = img_region;
else
Data{i}.img_gray = rgb2gray(img_region);
end
problem:You store all the sample data, the data is too large,which will cause be out of memory?
Yes, you are right, I save the memory by merely saving the gray-scale enlarged face region. Because the number of samples is less than 4.000, a PC with 8G is enough.
At 2014-10-28 17:11:22, "twyt" [email protected] wrote:
if size(img_region, 3) == 1 Data{i}.img_gray = img_region; else Data{i}.img_gray = rgb2gray(img_region); end
problem:You store all the sample data, the data is too large,which will cause be out of memory?
— Reply to this email directly or view it on GitHub.
you merely save the gray-scale enlarged face region,the shape of the calibration will not match the enlarged img.
I reset the groundtruth shape according to the size of face region, as the codes interpret.
At 2014-10-29 14:19:10, "twyt" [email protected] wrote:
you merely save the gray-scale enlarged face region,the shape of the calibration will not match the enlarged img.
— Reply to this email directly or view it on GitHub.
oh oh! so that,thanks.