Clear Filters
Clear Filters

Eye detection using (MSE)

2 views (last 30 days)
Dalal Alhabsi
Dalal Alhabsi on 21 Oct 2016
i have a project for real time detection , now I want to detect wether the eye is open or close, and i have to use several method , i save 5 frames for open and close eye and then i want to compare the real time frames with the one that has been saved. i use use function in matlab , i got numbers that shows the error like 86 , 60 . but i want to plot a graph for this and when I plot there is an error. i want a solution to find similarites between two frames and show that the eye is close. i hope that you understand what i mean
this is a part of the code
for ii=1:10 % Save this image to disk. FileName=sprintf('%3.3d.jpg',ii); fullImageFileName = fullfile(opFolder, FileName);
% Read it back in to check it. C = imread(fullImageFileName); err = mse(C, Eeye); plot(err); subplot(3,4,[9 10 11 12])
fprintf('\n The mean-squared error is %0.4f\n', err) end

Answers (0)

Categories

Find more on Startup and Shutdown in Help Center and File Exchange

Community Treasure Hunt

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

Start Hunting!