trying to run aamBuildShapeModel, but it fails to save the AAMScaleRotationShapeModelC object
Got 1 files in the list.
Loading 000_1_2_090.xml
ASM training sample set is of size: 1
FixedMean=4 350.966 359.938 81.484 -1.37364e-13
FixedVar=4 nan nan nan nan
0.98 sample variance is of rank: 5
RavlN::Save(), Failed to find format to save object to file '/Users/Jacks/Desktop/manualMakeLib/AAM/sm.abs'
I found one of the included test program that saves binary data to disk, which similarly saves as type "abs", it's called "testFileFormat.cc" and it runs just fine, I'm guessing its because "aamBuildShapeModel.cc" uses a special "IsValid()" method. This is what I've traced: aamBuildShapeModel.cc -> FileFormatIO.hh -> RefCounter.hh -> IsValid()... will keep trying to save the object file.
aamLocaliseFace.cc states that it requires shape initialisation files for AAM search. what are shape initialisation files? and how to get them?
quote:
"A shape initialisation consists of saved mean points representing an instance of a shape"
initialisation files = mean points
Haven't got a clue how to get around this:
WARNING: No standard type name for : N10RavlImageN27AAMScaleRotationShapeModelCE
WARNING: Don't know how to save to file '/Users/Jacks/Desktop/manualMakeLib/AAM/sm.abs' in format 'abs' from type 'N10RavlImageN27AAMScaleRotationShapeModelCE'
I tried to serialize the object without success. I'm screwed, AAM library is screwed
To save an AAM library object, you will need to compile your application with AAMActiveAppearanceModelsIO.cc which stores the file type information