> 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/sensor-setup/eye-tracking-glasses/pupil-labs/pupil-labs-invisible-glasses-live-recording.md).

# Pupil Labs Invisible - Glasses Live Recording

Connect Pupil Invisible glasses to iMotions Lab over WiFi for Glasses Live Recording, then export the recordings from the Companion app and import them.

*This article explains the steps involved in setting up a study with Pupil Labs Invisible glasses.*

Up until iMotions 9.3.1, the integration with Pupil Invisible glasses has been through post-import, in which a manual adjustment for synchronization was required. From iMotions 9.3.2 onwards, this process has been made simpler. This article describes the steps involved in setting up and running such a study.

{% hint style="info" %}
Pupil Labs is [sunsetting Pupil Invisible](https://pupil-labs.com/products/invisible) in favor of [Neon](https://help.imotions.com/lab/sensor-setup/eye-tracking-glasses/pupil-labs/neon-by-pupil-labs-live-recording-and-other-study-types.md). Pupil Labs continues to provide support and documentation for existing Pupil Invisible users.
{% endhint %}

Note:

* You will need the OnePlus phone (or other Android device) that is included when purchasing Pupil Invisible glasses, with the Pupil Invisible Companion app installed ([available to download here](https://play.google.com/store/apps/details?id=com.pupillabs.invisiblecomp\&hl=en_US)).
* The Pupil Invisible Companion app supports the OnePlus 6 with Android 8 or 9, and the OnePlus 8 and 8T with Android 11 (see [Pupil Labs compatible devices](https://docs.pupil-labs.com/invisible/hardware/compatible-devices/)). Other Android versions can cause connection issues, so do not install Android updates on the phone.
* Both the computer running iMotions, and the phone connected to the Pupil Invisible glasses will need to be connected to the same WiFi.

## Steps:

1\. Begin by connecting the Pupil Invisible glasses to the phone through a USB C to USB C cable.

2\. Start the Pupil Companion app. If it’s your first time using the app you will need to create a new “Wearer”.

3\. In iMotions, go to “Preferences”, and then “Global Settings”. Under the eye tracking tab, check the tickbox next to “Eye Tracking Server”. Use the drop-down menu to select “Pupil Invisible Glasses”.

![global\_settings\_pupil\_labs\_invisible.png](https://286068319-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FNLNBWkNpljDaAj5rQtNa%2Fuploads%2Fgit-blob-48774763dcab9f944b89c15ca298e16acfe8fb85%2F88ed154c56_global_settings_pupil_labs_invisible.webp?alt=media)

4\. Click on “Browse”. The popup should show the IP address, device name, and serial number, as well as the model of the phone. Click “Select” when you have found the device. You can test the connection by clicking on the “Test Connection” button. Click on “OK”, and then select “OK” when back in Global Settings.

Note: If you have multiple Pupil Invisible glasses running at the same time on the same WiFi, you will need to differentiate your device of choice through the IP address. The phone's IP address can be found on the phone by going to “Settings” (the gear icon), “About phone”, and “Status” and then matched to "Host IP" in iMotions.

![ip\_address\_pupil\_invisible.png](https://286068319-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FNLNBWkNpljDaAj5rQtNa%2Fuploads%2Fgit-blob-7aa56249be840e8308acbd59be1840874e54ec9f%2F32c654b3a8_ip_address_pupil_invisible-1-.webp?alt=media)

*Note that the exact appearance of these settings may differ depending on the operating system of the phone.*

If the IP address of the glasses doesn't appear automatically, you may need to manually enter it. Find the IP address of the phone using the same method as in the above paragraph, and enter this information in the "Host Address" box in iMotions. Click on "Test Connection" to check the connection.

![find\_ip\_pupil\_labs\_invisible.png](https://286068319-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FNLNBWkNpljDaAj5rQtNa%2Fuploads%2Fgit-blob-a5a5f7c13c1eb746d95682734286caa9e649908d%2Fffdb0a9f3e_find_ip_pupil_labs_invisible.webp?alt=media)

5\. In iMotions, create a new study. Select "Glasses" study as the study type, and "Glasses Live Recording" as the study subtype.

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

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

In the “Sensors” tab, tick the box next to “Eye tracking” and select “Pupil Invisible glasses”, alongside any other sensors you wish to include. Name your study and then click "Create study". In the stimulus timeline along the top, iMotions will auto-populate a recording stimulus stating “Pupil Invisible glasses”. Note that no other stimuli can be added, and the "Edit stimuli" button will be greyed out.

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

6\. Add a participant, and click on “Start recording”. The Pupil Labs app should now show that data is being collected (as shown in the image below). Click on “End recording” when data collection is complete.

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

7\. Back in the phone app, click on the bottom-left menu icon, and select “Recordings”. Find the recording(s) that you would like to use, click on the three dots to the right, select “Export”, then click “Yes”.

![export\_data\_pupil\_invisible.png](https://286068319-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FNLNBWkNpljDaAj5rQtNa%2Fuploads%2Fgit-blob-49f07785a5cdab6b123e5832706e6de2e8139ee0%2Fe109750368_export_data_pupil_invisible.webp?alt=media)

8\. You can now disconnect the Pupil Invisible glasses from the phone. Connect the phone to your computer that is running iMotions, via USB. The storage folder for the phone should now be discoverable through the computer (if this doesn’t happen automatically, you may want to troubleshoot with [steps from this article](https://mobiletrans.wondershare.com/oneplus/transfer-files-from-oneplus-to-pc.html)). For moving data from the phone, you may need to select file transfer on the phone.

Note 1: Not every USB port works with Android devices. In such cases, Pupil Labs recommends [this USB connector](https://www.amazon.com/dp/B08CKXNJZS/).

Note 2: You can also download and import the data using Pupil Cloud. Follow the steps below to do so.

1. Go to [Pupil Cloud](https://cloud.pupil-labs.com/) and sign in.
2. Select the recording(s) you want to import into iMotions from the list (you can press ctrl and click, or shift and click to select multiple files). Download them by right-clicking on a selected recording, and then hovering the mouse over "Download", and then clicking on "Timeseries Data + Scene Video". 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.

   ![](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)

9\. On the computer, click on the folder “Pupil Invisible Export” from the main storage folder. If importing via USB, simply copy over the folder from the phone to the location of your choosing on the computer. If downloading the files from Pupil Cloud, copy over the relevant files (discernible by the date/title of the file) to the location of your choice on your computer.

![pupil\_invisible\_folders.png](https://286068319-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FNLNBWkNpljDaAj5rQtNa%2Fuploads%2Fgit-blob-2c9ef74a0a2395c82246add7607a42e96afb7d8b%2F87edf4ed06_pupil_invisible_folders.webp?alt=media)

10\. The files should be copied over so that each participant’s singular recording is present in a single folder - all of these folders should then be placed inside a folder for import into iMotions.

11\. Back in iMotions, click on the “Import data” button under the text “Pupil Labs Invisible Recording” and select the recently imported folder. You can now view the data in iMotions.

![Pupil\_Invisible\_import\_data.png](https://286068319-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FNLNBWkNpljDaAj5rQtNa%2Fuploads%2Fgit-blob-a4181398029af956064175e32011d3cf3a3b1725%2F4514af9595_pupil_invisible_import_data.webp?alt=media)


---

# 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/sensor-setup/eye-tracking-glasses/pupil-labs/pupil-labs-invisible-glasses-live-recording.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.
