computefaces.m
来自「It is for Face Recognition」· M 代码 · 共 17 行
M
17 行
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% function computeFaces()
% z.li, 11-10-2003.
% compute the face area from the eyes-mouth triangle
% function dependency:
% n/a
% input:
% lEye - [(1)left/right='L', (2)scale, (3)x, (4)y, (5)w, (6)h] tuples
% rEye - [(1)left/right='R', (2)scale, (3)x, (4)y, (5)w, (6)h] tuples
% mouth - [(1)reserved, (2)scale, (3)x, (4)y, (5)w, (6)reserved] tuples
% output:
% face - [(1)x, (2)y, (3)w, (4)h, (5)theta, (6)confidence] tuples
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%function [face] = computeFaces(lEye, rEye, mouth)
function [face] = computeFaces(lEye, rEye, mouth)
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?