> 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/pupil-labs/pupil-invisible-configurations-recording-and-importing-into-imotions.md).

# Pupil Invisible: Configurations, recording, and importing into iMotions

Record with Pupil Invisible in the Companion app and import the files into iMotions 9.3.1 or earlier, including gaze, gyroscope and accelerometer data.

*Your Pupil Invisible eye-tracking glasses allow you to quickly and easily collect eye-tracking data in a natural or shopper environment. The eye-tracking glasses collect a video from the world camera as well as gaze data obtained from two eye cameras and head movement data obtained from the gyroscope and accelerometer.*

*This article pertains to recording data from Pupil Invisible glasses in **iMotions 9.3.1 and earlier**, in which data needs to be recorded in the Pupil Invisible Companion app and then post-imported into iMotions. Live synchronization with other sensors is only possible with iMotions 9.3.2 and later. Find more information about the more recent upgrade to the* [*Pupil Invisible integration here*](https://help.imotions.com/lab/sensor-setup/eye-tracking-glasses/pupil-labs/pupil-labs-invisible-glasses-live-recording.md)*.*

## 1. Overview

#### This article describes

\- how to collect data with Pupil Invisible

\- how to import this data into iMotions

\- which variables you can export

#### Software requirements

\- iMotions 8.1.2 or newer

\- [Pupil Invisible Companion app](https://play.google.com/store/apps/details?id=com.pupillabs.invisiblecomp\&hl=en), which you can download from the [Google Play Store](https://play.google.com/store/apps/details?id=com.pupillabs.invisiblecomp\&hl=en)

*For detailed instructions on how to operate the Invisible Companion app, please review the* [*manufacturer's guide*](https://docs.pupil-labs.com/invisible/)*.*

Please note that the Pupil Invisible Companion app is connected to Pupil Cloud and will automatically upload your recordings. You can then download them from the Cloud to import the files into iMotions.

If you do not wish to use the Pupil Cloud, you can disable it and import the recordings directly from the phone. Please note that this leads to a lower sampling rate of your eye tracking data.

#### Hardware requirements

\- Pupil invisible glasses with scene camera

\- USB-C to USB-C cable, it is highly recommended to use the cable that was shipped with the glasses

\- Android smartphone, [recommended phone is the OnePlus 6](https://docs.pupil-labs.com/invisible/hardware/compatible-devices/#companion-device)

*For cleaning and maintenance instructions as well as additional information about the hardware, please review the* [*manufacturer's guide*](https://docs.pupil-labs.com/invisible/)*.*

## 2. Setup and data recording

*For detailed instructions, please review the manufacturer's* [*Getting Started page*](https://docs.pupil-labs.com/invisible/)*.*

#### Configure the smartphone and connect the glasses

1\. Create a new Google account on your phone or log in with an existing one

2\. Download the Pupil Invisible Companion app from the Google Play Store

3\. In the Invisible Companion app, sign up with the chosen Google account to register for the [Pupil Cloud](https://docs.pupil-labs.com/invisible/pupil-cloud/tutorials/)

4\. Follow the in-app setup steps.

5\. Connect the glasses to the phone using the USB-C cable. [Make sure you have USB On-the-go and application lock enabled](https://docs.pupil-labs.com/invisible/hardware/compatible-devices/#companion-device)!

#### Record data

*Please find an overview of the* [*UI of the Invisible Companion app*](https://docs.pupil-labs.com/invisible/hardware/technical-overview/) *as well as detailed instructions in the* [*manufacturer's guide*](https://docs.pupil-labs.com/invisible/)*.*

1\. It is recommended to create a ["Wearer"](https://docs.pupil-labs.com/invisible/basic-concepts/recordings-wearers-and-templates/) profile for every respondent you record. You will only need to create one Wearer per respondent, and can then reuse the same profile during subsequent recordings.

2\. Put the glasses on and press the red record button to start the recording. End it by pressing the red stop button and then choose to save or discard the recording. The app will save the recording on the phone and also upload it to the Pupil Cloud.

3\. You can review the recording both in the Invisible Companion app as well as in the Pupil Cloud by logging in with the account used in the Invisible Companion app to <https://cloud.pupil-labs.com/recordings>.

4\. In case you observe a systematic offset of the gaze point, you can apply an offset correction of your wearer's gaze point.

![Screenshot\_20200313-170105.jpg](https://286068319-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FNLNBWkNpljDaAj5rQtNa%2Fuploads%2Fgit-blob-ad8d8bf16fe40394edc5e5061a4498b473c3122d%2F1de5342c3a_screenshot_20200313-170105.webp?alt=media)

## 3. How to download recordings and import them into iMotions

#### Save the recordings onto your PC

**Downloading recordings from Pupil Cloud (recommended)**

1\. Select the recording(s) you want to import into iMotions from the list of recordings on <https://cloud.pupil-labs.com/recordings> and download them by right-clicking on the item, moving the mouse cursor over "Download", and then selecting "Timeseries data + Scene Video".

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

2\. This will create a zip file of your downloaded recordings carrying the name of the recording as displayed in the web interface appended with an identifier.

We recommend changing the name before you download your recordings.

**Importing recordings from the smartphone**

1\. Connect the smartphone to your PC with the help of a USB cable

2\. Under *This PC\ONEPLUS A6003\Internal shared storage\Pupil Invisible* you will find a folder that has been named with (cryptic) recording identifiers, containing the data files. Copy the folders to your PC.

#### Import recordings into iMotions

**Set up folder structure**

iMotions expects a specific folder structure when you are importing your data:

Create a main folder for your study with one sub-folder for each respondent.

**Please note** that you have to name the folders 1, 2, 3, 4, etc. (After the import, iMotions will use the folder names as respondent names).

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

Per respondent, drop the files into the folder. Necessary files are:

***gaze ps1.raw,***

***gaze ps1.time,***

***PI world v1 ps1.time,***

***PI world v1 ps1.mp4,***

***extimu ps1.raw,***

***extimu ps1.time*****,**

**and&#x20;*****info.json*****.**

Do not change the file names.

In iMotions, create a new study from glasses data by following the workflow illustrated below:

Click the "Add new study" button and then choose "Glasses" as the study type. Click "Next".

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

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

Select "Import glasses data", click "Next", and then select "Pupil Invisible Glasses" as your sensor. Click "Next".

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

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

Then there will be a popped-out window that allows you to browse into your folder for the previously created files. iMotions will then import the data and display the respondents in the respondent list.

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

Now, you can analyze your eye tracking data and use all of iMotions features such as [automated Gaze Mapping](https://help.imotions.com/lab/analysis/eye-tracking/gaze-mapping/gaze-mapping.md), [annotations](https://help.imotions.com/lab/analysis/signal-processing-r-notebooks/my-library/annotations.md), and [AOIs (areas of interest)](https://help.imotions.com/lab/analysis/eye-tracking/areas-of-interest/areas-of-interest-aois.md#define-aois).

## 4. Raw data variables

These are the variables that you can export as SensorData

| **Variable name** | **Description**                                                                                                                                                                                                  |
| ----------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| Blink             | <p>0 - no blink, 1 - blink.<br></p>                                                                                                                                                                              |
| ET\_TimeSignal    | Elapsed time since the start of data-collection.                                                                                                                                                                 |
| ET\_GazeLeftx     | Horizontal coordinate of the computed gazepoint with respect to the world camera's field of view which measures 1088x1080px.                                                                                     |
| ET\_GazeLefty     | Vertical coordinate of the computed gazepoint with respect to the world camera's field of view which measures 1088x1080px.                                                                                       |
| ET\_GazeRightx    | Horizontal coordinate of the computed gazepoint with respect to the world camera's field of view which measures 1088x1080px.                                                                                     |
| ET\_GazeRighty    | Vertical coordinate of the computed gazepoint with respect to the world camera's field of view which measures 1088x1080px.                                                                                       |
| ET\_GyroX         | Angular speed around the glasses' X axis. If Gyroscope's sampling rate is higher than that of the eye-tracker, an average value for Gyroscope data obtained between two gaze samples is displayed.               |
| ET\_GyroY         | Angular speed around the glasses' Y axis. If Gyroscope's sampling rate is higher than that of the eye-tracker, an average value for Gyroscope data obtained between two gaze samples is displayed.               |
| ET\_GyroZ         | Angular speed around the glasses' Z axis. If Gyroscope's sampling rate is higher than that of the eye-tracker, an average value for Gyroscope data obtained between two gaze samples is displayed.               |
| ET\_AccX          | Acceleration in the direction of the X axis. If Accelerometer's sampling rate is higher than that of the eye-tracker, an average value for Accelerometer data obtained in between two gaze samples is displayed. |
| ET\_AccY          | Acceleration in the direction of the Y axis. If Accelerometer's sampling rate is higher than that of the eye-tracker, an average value for Accelerometer data obtained in between two gaze samples is displayed. |
| ET\_AccZ          | Acceleration in the direction of the Z axis. If Accelerometer's sampling rate is higher than that of the eye-tracker, an average value for Accelerometer data obtained between two gaze samples is displayed.    |


---

# 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/pupil-labs/pupil-invisible-configurations-recording-and-importing-into-imotions.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.
