フィルターのクリア

I am working on Heart Rate Estimation through detected face(ROI) from a video non-invasivley through a camera. Can someone suggest how should i start ?

1 回表示 (過去 30 日間)
I want code to first detect face from the video, and then through ICA i want to get the components. Please help.
  1 件のコメント
Chunxiao Tang
Chunxiao Tang 2018 年 4 月 12 日
ok.The code to detect face from the video can be downloaded in mathworks. In the menu named products you can find 'Computer Vision System Toolbox'. There are two useful programs, namely 'Face Detection Using Viola-Jones Algorithm' and 'Face Detection and Tracking with Live Video Acquisition'. The website is: https://ww2.mathworks.cn/products/computer-vision/features.html#object-tracking-and-motion-estimation

サインインしてコメントする。

回答 (1 件)

aswathy pavithran
aswathy pavithran 2018 年 4 月 17 日
編集済み: aswathy pavithran 2018 年 4 月 17 日
clear all; close all; obj=VideoReader('C:\Users\HP\Downloads\a.avi');% creat an object.this obj contains full video numFrames=obj.NumberOfFrames;% finding number of frames n=numFrames;%storing it in n; a1=obj.Height;% no.of rows a2=obj.Width; i=1; faceDetector = vision.CascadeObjectDetector();%% craeting a face detection obj and object usues vj face algorithm that can identify feys nose lips for i = 1:1:n frames = read(obj,i);% Reading that particular frame from the video bbox = step(faceDetector, frames);% applying the face detector to each frame andreturn answe in rectangular box % Draw the returned bounding box around the detected face. if bbox>0 videoFrame = insertShape(frames, 'Rectangle', bbox); a=imcrop(videoFrame,bbox); imwrite(a,['C:\Users\HP\Desktop\asw\' int2str(i), '.jpg']);% store the output in other folder. end end

カテゴリ

Help Center および File ExchangeTracking and Motion Estimation についてさらに検索

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by