Code covered by the BSD License  

Highlights from
Face Parts Detection

image thumbnail

Face Parts Detection

by

 

25 May 2012 (Updated )

It detects faces with left eye, right eye, mouth, and norse.

checkToolboxes(req)
function ret = checkToolboxes(req)
% reqToolboxes = {'Computer Vision System Toolbox', 'Image Processing Toolbox'};
% checkToolboxes(reqToolboxes)
info = ver;
s=size(info);

flg = zeros(size(req));
reqSize = size(req,2);

for i=1:s(2)
 for j=1:reqSize
  if( strcmpi(info(1,i).Name,req{1,j}) )
   flg(1,j)=1;
  end
 end
end
ret = prod(flg);

Contact us