hii..i want to capture an image with my webcam automatically after every 30sec and from that image identify the human beings

2 次查看(过去 30 天)
sir Iam just beginner to matlab doing my project by using image processing on the topic of automatic traffic light controller...my problem is there may be people on the foot path so they can also be captured by my camera so there pixel will get added into traffic pixels so i want to identify the human pattern and want to remove them from image....so please provide me solution(mat code) to capture image after every 30sec and for identify human pattern and to remove them....

回答(2 个)

ravi
ravi 2014-2-20
use timer with callback function to capture frame automatically after an interval of time as i did here http://www.mathworks.in/matlabcentral/fileexchange/45638-laser-spot-detection
and instead of detecting human you can use masks to remove footpath if camera is stationary
  2 个评论
Anand
Anand 2014-2-20
Hi ravi, just wondering if you know anything about realtime/livevideo face tracking?
I want track a face in a real time video using A webcam in MATLAB. Im using a sample code which outputs a video file with my face being being tracked. All i want it to do is to track my face live using the webcam. Its probably a small change in the code but i have no idea how to do it.

请先登录,再进行评论。


anis altaf
anis altaf 2014-4-21
编辑:anis altaf 2014-4-21
i have used this method.I hope it will work
clc;
clear all;
a=videoinput('winvideo',1);
start(vid);
b=getsnapshot(vid);
pause(30)
start(vid);
b1=getsnapshot(vid);

Community Treasure Hunt

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

Start Hunting!

Translated by