@All with out of memory issues:
This happens because in AAM_MakeSearchModel the variable drdp is 4D, you can just split it into smaller matrices, such as i did it in 2 3D matrices,and did averaging by adding and dividing instead of using mean and squeeze function. Because in the end you are using this drdp for the calculation of matrix R which is 2D
1. This is creating the annotations variable:
Use the build_model_2d_from_files to not be exposed to such intricacies.
2. What do you mean? fit_2d is the function to fit. You need to provide a shape to start the fit. As AAMs don't do face detection you need to first apply a face detection algorithm to detect the approximate location of the face and use that to fit your AAM to the detected face.
I have a couple of queries:
1. The examples/fit2d_test.m loads shape using
shapes(:,:,i) = xy2ij(annotations, size(app,1));
but the variable 'annotations' is not declared previously. Where do you get the annotations and load to 'shapes'?
2. How do I fit the AAM to a file with an initial shape? (i.e. a non-annotated image). I am a beginner in this area and can't seem to make it work
This application is just working very well and is very useful.
I am for the moment working on version 2011a and will soon update to 2013. Do you know if any update will be done in order to be compatible with this version ? (To avoid to loose my work...)
Anyway, great job !
I am also getting pcode errors in 2013a. It would be nice if author could update, or release the source code to someone else to do so.
There do not seem to be any alternatives to this in more up-to-date matlab versions. Anyone know of any?
has anyone had any luck using matlab 2012b version? I have pcode error.
after I do pcode('tabpanel') and call tabpanel('myFig','myTab') doesnot work. it does nothing.. any help? I tried in matlab 2011 it works fine..