目录
1.算法仿真效果
matlab2022a仿真结果如下:
2.MATLAB源码
%******************************************************************
%订阅用户可以获得任意一份完整代码,私信博主,留言文章链接和邮箱地址,
%一般第二天下午4点前会将完整程序发到邮箱中。
%******************************************************************
the_video = VideoReader('female.mp4');
video_frame= readFrame(the_video);
face_detector = vision.CascadeObjectDetector();
location = step(face_detector , video_frame);
detected_frame =insertShape(video_frame , 'rectangle' , location);
rectangle_to_Points = bbox2point