This is the core face detector MATLAB code. The wrapper code for the executable is in mainsoft.