The code by Zhu and Ramanan uses a learned model to detect faces and fiducial points on them. The learned parameters are stored in a binary file of format mat
used by Matlab. It appears as if the coder cannot port the load
command that reads this file.
In order to fix this I'm afraid you'll have to get your hands a bit dirty. You'll need to replace the mat
file with a different format and change the code accordingly.
Read the mat
file in matlab using load
and convert it into a different format of your choosing. Change the code to read the new file using more basic commands (e.g., fopen
, fread
and the liking) then use the coder to port the modified code.