how to track eyes in real time?

4 visualizaciones (últimos 30 días)
Nimisha
Nimisha el 27 de Mzo. de 2018
Comentada: Amir Dehsarvi el 14 de Mayo de 2019
vid = videoinput('winvideo', 1);
start(vid);
capt1 = getsnapshot(vid);
FDetect = vision.CascadeObjectDetector;
BB = step(FDetect,capt1);
for i = 1:size(BB,1)
rectangle('Position',BB(i,:),'LineWidth',5,'LineStyle','-','EdgeColor','r');
end
title('Eye Detection');
hold off;
preview(vid)
i have written above code for Real time eye tracking. But it gives error. If anyone can help me to trace in real time.!
  1 comentario
Amir Dehsarvi
Amir Dehsarvi el 14 de Mayo de 2019
Change the format of your video.

Iniciar sesión para comentar.

Respuestas (0)

Categorías

Más información sobre Downloads en Help Center y File Exchange.

Community Treasure Hunt

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

Start Hunting!

Translated by