> For the complete documentation index, see [llms.txt](https://help.imotions.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://help.imotions.com/lab/import-and-post-processing/eye-tracking-glasses-post-import/smi/smi-eye-tracking-post-import-recorded-data.md).

# SMI Eye Tracking: Post Import Recorded Data

Export raw gaze data and scan path video from SMI BeGaze in the supported format and import them into iMotions Lab as a glasses study.

*If you recorded data with SMI Eye Tracking Glasses outside of iMotions, you can follow this guide to import it into iMotions.*

*The importing procedure of SMI data will create a new study within iMotions that includes the stimuli and external data.*

## 1) SMI BeGaze

First go to SMI BeGaze and find the recording you wish to import into iMotions.

Export eye tracking data in txt format, please include a header in the export.

iMotions will recognize SMI exports with the following format:

### Scenario A:

Header: "Converted From", "Participant", "Calibration Area \[px]"

Data: "Point of Regard Binocular X \[px]", "Point of Regard Binocular Y \[px]", "Pupil Diameter Left \[mm]","Pupil Diameter Right \[mm]","Stimulus", "Category Group", "RecordingTime \[ms]", "Video Time \[h:m:s:ms]

![](https://286068319-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FNLNBWkNpljDaAj5rQtNa%2Fuploads%2Fgit-blob-0c36bbf0056d771e18aceaa13bd13f652cf79821%2F73ec2af570_SMI_1.png?alt=media)

### Scenario B:

Header: "Converted from", "Subject", "Calibration Area"

Data: "B POR X \[px]", "B POR Y \[px]", "L Pupil Diameter \[mm]", "R Pupil Diameter \[mm]", "Time", "Frame"

![](https://286068319-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FNLNBWkNpljDaAj5rQtNa%2Fuploads%2Fgit-blob-125a23cda92122c3f8e78d2071f8759acd5fff9a%2F0727c0dd6d_SMI_2.png?alt=media)

### Video Export:

Export the SMI glasses video file. Make sure you disable the gaze point view (Blue dot) before exporting the video.

1. Open BeGaze.
2. If you do not already have all your recordings loaded into BeGaze, then drag and drop the experiment folder into BeGaze. This imports all recordings.
3. In the dashboard, double-click on a respondent video. This opens the Scan Path.
4. Right-click the Scan Path video and select “Settings”. In the settings dialog, click the tab “Cursor” and change the Gaze Cursor to “cursor image”. Then click “OK”. This hides the gaze cursor from the Scan Path.

   ![](https://286068319-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FNLNBWkNpljDaAj5rQtNa%2Fuploads%2Fgit-blob-8630bc14ab1a6c9b7c6668f0669fc835e3038cf0%2Fec1f41017b_SMI_3.webp?alt=media)
5. In the menu, click “Export” > “Export Scan Path Video” and select the following options:

   ![](https://286068319-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FNLNBWkNpljDaAj5rQtNa%2Fuploads%2Fgit-blob-de93743fd8533c6506cdcf088cd1245d6cf256c4%2F6ca36a1c98_SMI_4.webp?alt=media)

   \- Frames per second: select the native data rate of the recording (here, 30 Hz). - Select “Legacy Default \[Xvid]” encoder - Select high quality, 100% playback speed - Disable “Apply Watermark” - Enable “Export stimulus audio” - Then click “Save as,...” or “Add to queue”.
6. If you selected “Add to queue”, you have to initialize the processing. To do so, go to the menu and click “Export” > “Show Export Queue…”. In the dialog, start the processing.
7. Click “Export” > “Metrics Export”
8. On page 1 of the dialog, select “Raw Data”

   ![](https://286068319-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FNLNBWkNpljDaAj5rQtNa%2Fuploads%2Fgit-blob-f78f2f226d6c82beff81101a699b07a41d04be34%2F5f5d729ddc_SMI_5.webp?alt=media)
9. On page 2, select the relevant respondents (here, all). Also, make sure that all checkboxes are enabled / selected, particularly the ones for right and left eyes as well as binocular.

   ![](https://286068319-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FNLNBWkNpljDaAj5rQtNa%2Fuploads%2Fgit-blob-77100cddc974b0dc4fe7cf2f6f4dfe306e881dad%2F66a9203d38_SMI_6.webp?alt=media)
10. On page 3, select all relevant metrics depending on the format you want to follow see above (here, all).

    ![](https://286068319-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FNLNBWkNpljDaAj5rQtNa%2Fuploads%2Fgit-blob-128ad3126a58fbd20d0568459e33a9c11522f24e%2F5ce167b90c_SMI_7.webp?alt=media)
11. On page 4, select the following options:

    \- “Full trial”

    \- Decimal places: 1

    \- Decimal separator: . (point)

    \- Separator: Tab

    \- Enable “Write header”

    \- Enable “Individual participant files”

    ![](https://286068319-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FNLNBWkNpljDaAj5rQtNa%2Fuploads%2Fgit-blob-6d104fe1ef8b194e7f84fa20367dfa6f1f070bde%2Ff7b922a159_SMI_8-1-.webp?alt=media)
12. Click “Export…” or “Save to Queue”. This will export the raw data to a text file (.txt).
13. Open the export folder and rename the video and raw data files so that they have the same name, e.g., Recording\_01.txt and Recording\_01.avi.

## 2) Prepare data

Now you should have two files, one txt file and one avi video file. If you wish to have more respondents in the same study in iMotions, please repeat the above steps in BeGaze for each respondent.

* First make sure that the avi video file that you generated in BeGaze can be played by Windows Media Player. If not export again from BeGaze using a different codec.
* Next:Both files for each respondent should be located in the same folder or directory on the iMotions PC.

## 3) iMotions import

First create a glasses study by clicking on 'Add new study', selecting glasses study and clicking next.

![](https://286068319-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FNLNBWkNpljDaAj5rQtNa%2Fuploads%2Fgit-blob-0d0f6b5128a96457a7538c68632db810d3876593%2Fdd2cd1c7cd_image-1701860293491.webp?alt=media)

On the next window, select glasses import, click next and select SMI glasses

![](https://286068319-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FNLNBWkNpljDaAj5rQtNa%2Fuploads%2Fgit-blob-daa617584c71836d9e283201892ba5a715792ce8%2Ff1bf85b7a9_image-1701860427682.webp?alt=media)

![](https://286068319-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FNLNBWkNpljDaAj5rQtNa%2Fuploads%2Fgit-blob-09f980359e24aac55deb0b3178d2c66d742b2d07%2F687a78350f_image-1701860513071.webp?alt=media)

Next, a dialogue box will appear where you need to locate the folder and directory path that houses both file types for the respondent.

![](https://286068319-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FNLNBWkNpljDaAj5rQtNa%2Fuploads%2Fgit-blob-28a363ae644b47a2a8076781ce991892f76aeaa7%2Fb40d5fd3b6_SMI_10.webp?alt=media)

Click "Browse" and locate either the video file or file with extension ".txt" to define the directory path. Once you have selected one of these files, iMotions will know that all of the SMI data files can be found within this directory path. It will import all respondents in this folder.

Be aware that your Decimal Symbol in windows has to be "." and that Digit grouping symbol is "," if this isn't the case, then iMotions will not be able to read the csv file.

![](https://286068319-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FNLNBWkNpljDaAj5rQtNa%2Fuploads%2Fgit-blob-290476055adebbfcf881d986069b64305db88ccb%2F465ac4305d_SMI_11.webp?alt=media)

Finally, select "Import" and iMotions will create a new study incorporating the SMI data.

## Troubleshooting:

Import sometimes fails if the txt file contains other data than gaze points such as annotations, removing any rows that have this data should clear up the issue


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation by asking a question.

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

```
GET https://help.imotions.com/lab/import-and-post-processing/eye-tracking-glasses-post-import/smi/smi-eye-tracking-post-import-recorded-data.md?ask=<question>&goal=<user_goal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
