An eye-tracking data file created by the EyeVec eye-tracking system is a binary file with a bed extension (binary EyeVec data). To be able to process the data contained in a bed-file in a statistics program, spreadsheet program or script language the needs to be converted to a text based format such as CSV.

To convert a EyeVec data file to CSV format you can use the eyevec-convert command-line utility.

If like most users you’re only interested in gaze analysis events (fixations, saccades, blinks) then simply use the following command (results.bed represents our input file here):

eyevec-convert results.bed

This will produce CSV file results.csv which can be read by any spreadsheet or statistics program.

You might want to add the -r flag to the eyevec-convert command for R-friendly formatting of the message_text column (applies to fileinfo, configuration, baseline, calibration, validation and drift-check records):

eyevec-convert results.bed -r

Add flag -px to output gaze positions in screen pixels rather than logical coordinates. Alternatively you could use -mm for millimeters.

eyevec-convert results.bed -r -px

For more eyevec-convert examples please refer to the Eyevec-convert user manual.