Difference between revisions of "Eye Controlled Interaction"

From REALab Wiki
Jump to navigation Jump to search
Line 2: Line 2:
===Manual===
===Manual===
*[[media:ECI_Manual_EN.pdf‎|Eye Controlled Interacton Manual]]
*[[media:ECI_Manual_EN.pdf‎|Eye Controlled Interacton Manual]]
The manual does an excellent job of explaining how to:
-Connect/disconnect from the dikablis
-Defining/editing AOI's
-Decipher UDP output


===MATLAB Code===
Eye Controlled Interaction uses a UDP connection to output its data.
u = udp('127.0.0.1',65000,'LocalPort',65000, 'InputBufferSize', 409600);
u = udp('127.0.0.1',65000,'LocalPort',65000, 'InputBufferSize', 409600);
u.Terminator = 'LF/CR';  %tell it about line endings
u.Terminator = 'LF/CR';  %tell it about line endings

Revision as of 20:46, 3 December 2012

This program is useful for detecting position of eye gaze in real-time as real-time gaze within defined AOI's and eye gaze co-ordinates can be determined.

Manual

The manual does an excellent job of explaining how to: -Connect/disconnect from the dikablis -Defining/editing AOI's -Decipher UDP output

MATLAB Code

Eye Controlled Interaction uses a UDP connection to output its data. u = udp('127.0.0.1',65000,'LocalPort',65000, 'InputBufferSize', 409600); u.Terminator = 'LF/CR'; %tell it about line endings fopen(u);


A = fscanf(u); C =regexp(A, '\t', 'split');


fclose(u); delete(u);