필터 지우기
필터 지우기

how to track eyes in real time?

조회 수: 4 (최근 30일)
Nimisha
Nimisha 2018년 3월 27일
댓글: Amir Dehsarvi 2019년 5월 14일
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
Amir Dehsarvi
Amir Dehsarvi 2019년 5월 14일
Change the format of your video.

댓글을 달려면 로그인하십시오.

답변 (0개)

카테고리

Help CenterFile Exchange에서 Programming에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by