Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
eye tracking source code matlab
#1

eye tracking source code matlab

Abstract

Abstract
Source Code Summarization is an emerging technology for automatically generating brief descriptions of code. Current summarization techniques work by selecting a subset of the statements and keywords from the code, and then including information from those statements and keywords in the summary. The quality of the summary depends heavily on the process of selecting the subset: a high-quality selection would contain the same statements and keywords that a programmer would choose. Unfortunately, little evidence exists about the statements and keywords that programmers view as important when they summarize source code. In this paper, we present an eye-tracking study of 10 professional Java programmers in which the programmers read Java methods and wrote English summaries of those methods. We apply the findings to build a novel summarization tool. Then, we evaluate this tool. Finally, we further analyze the programmers method summaries to explore specific keyword usage and provide evidence to support the development of source code summarization systems.

%
% Purpose : Find distinct points of the Pupils, Nostrils and Mouth in
% images taken from a video stream to get the Pupils' position in relation
% to the fixed position of Mouth and Nose
%
% A video input adaptor (webcam) has to be connected to the computer in
% order to run this program
%
% Author : Peter Aldrian, Uwe Meier, Andre Pura
% Date : August 12, 2009
% Version : 1.0
% --
% © 2009, Meier, University of Leoben, Leoben, Austria
% email: [email protected] [email protected] [email protected]
% --

close all;
clear all;

% set length of video stream (if set to 'inf' stop video by closing figure
frames = 100

% starting routine for video input
% Image Acquisition Toolbox has to be installed
vid=videoinput('winvideo',1,getResolution());
triggerconfig(vid,'manual');
set(vid,'ReturnedColorSpace','rgb' );
start(vid);

% start figure; for display purpose only
scrsz = get(0,'ScreenSize');
fig = figure('CloseRequestFcn',{@my_closereq,vid},'Position',scrsz);

for jj = 1 : frames

% get snapshot from video device
snapshot = getsnapshot(vid);

% delete this two lines after downloading the
% haarcascade_frontalface_alt2.xml -File
disp('Because of license restrictions you have to download the file "haarcascade_frontalface_alt2.xml" on your own.');
disp('Just google it or download it at http://mathworks.de/matlabcentral/fileexchange/19912.');



% main routine to detect distinct points for the eyes, nose and mouth
[T] = getPoints(snapshot);

% displaying snapshot and found points; for display purpose only
if T =-1

imshow(snapshot,'InitialMagnification','fit');
hold on;

for i=1:2:9
plot(T(i),T(i+1),'ro');
plot(T(i),T(i+1),'gx');
end
else
imshow(snapshot);
end

% pause needed, so matlab can draw figures;for display purpose only
pause(0.05);
hold off;
end

% stops video input
stop(vid);
Reply

#2
To get full information or details of eye tracking source code matlab please have a look on the pages

http://mirametrixproducts/mirametrix-too...or-matlab/

if you again feel trouble on eye tracking source code matlab please reply in that page and ask specific fields in eye tracking source code matlab
Reply

#3
(03-24-2015, 07:07 AM)Guest Wrote: How to write the eye tracking program in Matlab?
Reply

#4

I need eye tracking based read python or c++ source code in Matlab GUI or complete source code.
Reply



Forum Jump:


Users browsing this thread:
1 Guest(s)

Powered By MyBB, © 2002-2024 iAndrew & Melroy van den Berg.