These are the additional (to the facebase steps) steps taken to make the FaceBase automatic landmarking software work - https://www.facebase.org/resources/human/facial_landmarking/
- Matlab - https://www.mathworks.com/help/install/ug/install-products-with-internet-connection.html
- PyMeshlab - https://pymeshlab.readthedocs.io/en/latest/installation.html
- Install
Statistics and Machine Learning Toolboxadd-on in Matlab for thepdistfunction.
Steps taken
Get_compute_many_Windowsgenerates a now defunct command usingmeshlabserver.exe. This executable has been deprecated since 2020. We need to use PyMeshlab library in python instead.- Use
compute_curvature.pyinstead. This utility generates the curvature of each object.objfile and converts it into a.plyfile withCinformation in it required by the landmarking method. Currently, if you open.objfile, you'll findV(vertices) andF(faces) information. - You'll need to extend that program to make it work for several object files. Add a for loop appropriately.
princompis removed. Usepcainstead inauto_LM_face.mfile.- Install
Statistics and Machine Learning Toolboxadd-on in Matlab. - Load (double click)
Meanshape.mat(template landmarks) in matlab. - Run
savemesh.m. This should create a.matfile for each of your.plyimages. - Run
Landmarking.m. - This should give you a
Landmarks.xlsfile in the format -
<obj_filename>,p1_x, p1_y, p1_z, p2_x, p2_y, p2_z,.... p29_z
You'll have 29 landmarks for each face object.