Could you share a code that is about face alignment matlab i
Could you share a code that is about face alignment matlab implementation?
Solution
visualize.m:-
end
doesn\'t able to upload the model.mat code you can download it from the following link
https://github.com/zhzhanp/TCDCN-face-alignment/blob/master/model.mat
demo.m:-
| clear all; | |
| fid = fopen(\'output.txt\',\'rt\'); | |
| for i = 1:1 | |
| filename = fgetl(fid); | |
| fpts = fscanf(fid,\'%f\',136)+1; | |
| fgetl(fid); | |
| fpts = reshape(fpts,[2 68]); | |
| fpts = fpts\'; | |
| img = imread(filename); | |
| imshow(img); | |
| hold on; | |
| plot(fpts(:,1),fpts(:,2),\'o\',\'MarkerEdgeColor\', \'k\', \'MarkerFaceColor\',\'green\'); | |
| hold off; | |
| pause; | |
| end |
