【人脸识别】基于matlab人脸识别检测脸、眼、鼻子和嘴【含Matlab源码 178期】
发布日期:2021-05-07 13:13:53 浏览次数:18 分类:原创文章

本文共 783 字,大约阅读时间需要 2 分钟。

一、简介


基于matlab人脸识别之检测脸、眼、鼻子和嘴
在这里插入图片描述


二、源代码


reqToolboxes = {
'Computer Vision System Toolbox', 'Image Processing Toolbox'};if( ~checkToolboxes(reqToolboxes) ) error('detectFaceParts requires: Computer Vision System Toolbox and Image Processing Toolbox. Please install these toolboxes.');endimg = imread('lena.png');detector = buildDetector();[bbox bbimg faces bbfaces] = detectFaceParts(detector,img,2);figure;imshow(bbimg);for i=1:size(bbfaces,1) figure;imshow(bbfaces{
i});end% Please uncoment to run demonstration of detectRotFaceParts%{
img = imrotate(img,180); detector = buildDetector(2,2); [fp bbimg faces bbfaces] = detectRotFaceParts(detector,img,2,15); figure;imshow(bbimg); for i=1:size(bbfaces,1) figure;imshow(bbfaces{
i}); end%}

三、运行结果


在这里插入图片描述


四、备注


完整代码或者咨询添加QQ 1564658423

上一篇:【手势识别】基于matlab GUI肤色手势识别【含Matlab源码 716期】
下一篇:【人脸识别】基于matlab GUI灰度化教室人数统计【含Matlab源码 602期】

发表评论

最新留言

很好
[***.229.124.182]2025年04月07日 06时21分28秒