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

1 visualizzazione (ultimi 30 giorni)
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....

Risposte (2)

ravi
ravi il 20 Feb 2014
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 Commenti
Anand
Anand il 20 Feb 2014
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.

Accedi per commentare.


anis altaf
anis altaf il 21 Apr 2014
Modificato: anis altaf il 21 Apr 2014
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