文件名称:人脸定位核心代码段
文件大小:1KB
文件格式:M
更新时间:2018-07-06 04:53:27
matlab 人脸识别 定位
r = floor(n1/10); c=floor(n2/10);% x1 = 1; x2 = r; % s = r*c; % for i = 1:10 y1 = 1; y2 = c; % for j = 1:10 if (y2<=c || y2>=9*c) || (x1==1 || x2==r*10);% loc = find(EZ(x1:x2, y1:y2)==0); [p, q] = size(loc); pr = p/s*100; % if pr <= 100 EZ(x1:x2, y1:y2) = 0; end end y1 = y1+c; % y2 = y2+c; %