> 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/screen-based-eye-trackers/smart-eye/eye-tracking-with-mobile-devices-phone-setup.md).

# Eye Tracking with Mobile Devices (Phone setup)

Set up a Smart Eye Aurora or AI-X on the mobile stand, share the phone screen by frame grabber, webcam or Duet Display, and calibrate on the scene recording.

*Important Note:* Optimal setup for the eye tracker and study will depend on the phone and stimuli involved. To ensure the optimal setup for your use case, we strongly encourage reaching out to your Customer Success Manager for consultation.

This article covers the scene calibration steps in iMotions 9.3.4 and newer (where calibration points are set during the initial recording with a given phone/screen), please [see this article](https://help.imotions.com/lab/sensor-setup/screen-based-eye-trackers/tobii/additional-tobii-screen-based-eye-trackers/setting-up-your-eye-tracker-for-mobile-device-testing.md) when using earlier versions of iMotions.

This article pertains to setting up a Smart Eye Aurora or AI-X eye tracker (please see [this article if using an eye tracker from Tobii](https://help.imotions.com/lab/sensor-setup/screen-based-eye-trackers/tobii/additional-tobii-screen-based-eye-trackers/using-the-tobii-mobile-stand-for-nano.md))

## Requirements

* Smart Eye Aurora or AI-X Eye Tracker
* Smart Eye Tracker Software ([available in this article](https://help.imotions.com/lab/sensor-setup/screen-based-eye-trackers/smart-eye/setting-up-aurora-or-ai-x-in-imotions.md))
* Phone/Mobile Device with screen sharing functions.
  * Apple devices offer screen sharing functions (e.g. Duet Display App)
  * Android devices may offer screen sharing with additional set up and testing.
* Screen recorder for the mobile device, e.g. frame grabber or scene camera
* Smart Eye Mobile Stand
* A ruler and protractor - to measure phone dimensions and placement

## 1) Mobile Stand Setup with Eye Tracker

1. Attach the magnetic mount (for the eye tracker) to the Smart Eye Mobile Stand. The mount should be as centered and stable as possible (additional information can be found in the [Smart Eye Mobile Stand Guide](https://help.imotions.com/lab/sensor-setup/screen-based-eye-trackers/smart-eye-mobile-stand-guide.md)).
2. Attach the eye tracker to the magnetic mount.
3. Connect the USB cable from the eye tracker to the iMotions computer.

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

## 2) Smart Eye Setup Tool Setup

1. Open the Smart Eye Setup Tool ([available in this article](https://help.imotions.com/lab/sensor-setup/screen-based-eye-trackers/smart-eye/setting-up-aurora-or-ai-x-in-imotions.md)).
2. Select your eye tracker model.
3. Select **New setup**.
4. Select **Phone** then click Next.
5. **Enter phone measurements** in millimeters (mm) - as prompted in the Smart Eye Setup Tool.
   1. [Information about iPhone screen dimensions](#apple-device-screen-sizes).
   2. The bezel size is the distance between the top of the phone and the screen (not including any indentations in which the front-facing camera is positioned).
6. Name and save the setup.

![SE\_calibration\_tool.png](https://286068319-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FNLNBWkNpljDaAj5rQtNa%2Fuploads%2Fgit-blob-20dd20da2b14f47c08b70d238bf2b937945ffb5c%2Fb6b9b1832e_se_calibration_tool.webp?alt=media)

## 3) Phone Setup

Phone Setup involves connecting your phone screen to iMotions, through one of the screen sharing options described below.

1. In your phone settings, make sure the device is set to remain on and accessible - so it does not turn off or enter standby mode during data collection. For iPhones/iPads, go to Settings > Display & Brightness > Auto-Lock and select ‘Never’.
2. Follow the steps below, under Screen Sharing Options - for using a frame grabber, scene web camera, or the Duet Display app for screen sharing.
3. In iMotions Global Settings (Audio & Video tab), **select the screen sharing device or app as your Scene Camera**.
4. In iMotions Global Settings (Eye Tracker tab), **select the AI-X or Aurora and enter Host Address 127.0.0.1** (or 10.0.0.1 for EPU connections). Additional information here: [Aurora and AI-X setup](https://help.imotions.com/lab/sensor-setup/screen-based-eye-trackers/smart-eye/setting-up-aurora-or-ai-x-in-imotions.md#connecting-the-eye-tracker-to-imotions).
5. (Optional) Eye-tracker camera view can be shown by right-clicking on the widget and selecting ‘Toggle view’. Note: Camera view should only be used to confirm eye-tracker position - we recommend disabling camera view during data collection (due to hardware demands).

## Screen Sharing Options

To be able to preview and replay what the respondent is doing and reacting to, you will need to record the screen of the mobile device. To do this, there are several options, as described below (frame grabber, scene web camera, and Duet Display app). Again, the ideal screen-sharing choice for you depends heavily on the material you are testing (videos, websites, apps, etc), so we strongly recommend consulting with your Customer Success Manager.

### Frame grabber

***Compatibility***

We usually recommend testing on Apple devices. Android devices often block screen-sharing options due to the anti-piracy encryption used with HDMI, DisplayPort, and DVI connections. If you want to test on an Android device, we recommend testing if your phone and HDMI splitter allow you to grab the display.

{% hint style="warning" %}
If you are using an ElGato HD60s+ frame grabber (provided with the Smart Eye mobile stand) then you will need to download ElGato software ([available here](https://www.elgato.com/en/downloads)) and downgrade the streaming to 30fps. In cases in which a particularly high-performance computer is used, such a step may not be necessary. We recommend - as always - testing your study prior to data collection. You are also encouraged to discuss this with your Customer Success Manager.
{% endhint %}

***Description***

With a wired setup, the phone is connected to an additional piece of hardware called a frame grabber. This device takes the display from the phone and brings it into iMotions as a virtual camera feed. There are several benefits to this solution:

* Benefit 1: You get a high-resolution recording of the display screen that is not obstructed by the respondent’s hands and not distorted by reflections on the screen surface.
* Benefit 2: Respondents can use the apps and phone settings with only a few restrictions.
* Disadvantage 1: The wired connection to the frame grabber hardware can make setups cumbersome.
* Disadvantage 2: Frame grabbers can cause problems for streaming video apps like YouTube or Vimeo, as they can trigger AirPlay on the iPhone. This can be circumvented by the use of headphones - Bluetooth or wireless headphones are recommended as the connection of a headphone jack can get in the way of the wired stand setup.

***Framegrabber Hardware***

Currently available frame grabber devices: [ElGato HD60X](https://www.elgato.com/us/en/p/game-capture-hd60-x) ([ElGato setup video](https://youtu.be/Oxv3HskB0Mw)) or [Epiphan AV.io HD+](https://www.epiphan.com/products/av-io-hd-plus/) (DVI2USB 3.0 discontinued). Other frame grabber models should be compatible, but have not been tested by iMotions.

For this setup, you will need the frame grabber, a phone-to-HDMI adapter (e.g. lightning-to-HDMI or USBC-to-HDMI), an HDMI cable, and a USB cable that fits with your frame grabber. In the pictures below, you can see how to set up the connection from your mobile device to your PC:

1. Plug the phone-to-HDMI (i.e. Lightning-to-HDMI) adapter into your mobile device
2. Plug the HDMI cable into the other side of the lightning-to-HDMI adapter. Optionally, also connect the iPhone’s charger with the lightning-to-HDMI adapter.
3. Plug the other end of the HDMI cable into the frame grabber HDMI (input port).
4. Connect the frame grabber USB output to a USB-3 port on your iMotions computer.
   1. ElGato drivers install automatically when the device is connected. The ElGato [Game Capture](https://www.elgato.com/en/gaming/downloads) software can be useful for troubleshooting purposes.
   2. Epiphan drivers are available on their [Support page](https://www.epiphan.com/support/) ([DVI2USB 3.0 drivers](https://www.epiphan.com/support/dvi2usb-3-0-software-documentation/?utm_source=Support\&utm_medium=Web\&utm_campaign=DVI2USB3.0))

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

***Settings in iMotions***

* In iMotions, add the video from the frame grabber as a scene camera by going into *Global Settings > Video > Scene camera*. Frame grabber device should appear in the drop-down list of available video inputs (under the camera selection):

  ![](https://286068319-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FNLNBWkNpljDaAj5rQtNa%2Fuploads%2Fgit-blob-04c4da59e04ffcc3684856510e0f9fc3c0ad32bd%2Fb4995acdd2_image-1703187253761.webp?alt=media)
* When creating the study, use the "Mobile device" study type, then select your SmartEye tracker on the eye tracker drop-down menu when selecting sensors. A Scene Recording Stimulus will automatically be added to your study.

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

***How to Setup Calibration***

While calibration and verification images (attached files) are not necessary for calibration in the following steps, saving them to the mobile device can improve accessibility and ease-of-use for the participant.

Displaying these images during the calibration allows for more visual clarity - the participant can then navigate away from the image when testing begins. The calibration positions can then also remain stable across participants, as standard fixation points are provided for non-standard screens. To carry out the calibration with or without these images, follow these steps:

1. Add a participant and click “Start recording”. The next screen will show the calibration setup screen.
2. The mobile device screen will be shown, with an adjustable box and numbered dots superimposed over the image.
3. Click and drag the box to match the dimensions of the mobile device screen.
4. The blue numbered dots are used for calibration. When configuring calibration for Smart Eye devices, purple dots will also be shown which are used for verification of the calibration.
5. Click and move the blue dots for calibration. It is recommended to move these to distinct areas of the phone (for a five-point calibration this could be one in each corner and one in the middle of the screen).
6. Then, if available, move the verification dots. It is recommended that these dots be placed in distinct areas that do not overlap with the blue calibration dots.
7. Press “next” when the dots have been placed in the desired locations.

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

* To run the calibration:
  * Verbally instruct respondents to look at each calibration dot. This may be carried out by indicating the “landmarks” of the phone screen (e.g. “focus on the center of the top-left icon”), or the points of a prepared calibration image. Click next to continue to the next dot when the participant has signaled that they have focused on the current dot.
  * Once the calibration verification step appears, instruct the participants as above to focus on each point.
  * When complete, press next and you will get an assessment of your calibration.
  * Press continue when you are satisfied with your calibration.

Note: due to the screen size, the calibration process may appear to be suboptimal. It is recommended that you closely examine the results of the calibration to determine whether the process should be repeated or not. Errors may appear inflated due to the difference in mobile device and computer screen size

### Scene Web Camera

***Compatibility***

This is available for all mobile devices (Apple and Android).

***Description***

In this setup, a webcam is positioned in front of the phone or tablet for use with a Scene Recording stimulus. Similar to the frame grabber setup, a custom calibration must be done over the scene camera feed. Since the scene camera is external to the phone, calibration can be accomplished using a physical plate held over the phone, or by using a calibration image as the phone’s background similar to the frame grabber setup.

* Benefit: You can test any kind of content on the mobile device.
* Disadvantage: The respondent's hands will cover the display and ceiling lights can cause reflections. Often, the webcam's auto-focus and shutter adjustments make it difficult to properly see the content on the mobile device in the recording.

***Hardware***

A normal USB webcam.

***How to calibrate and run the study***

Please follow the steps described in the section above about calibrating with a frame grabber. Be sure not to move the webcam away from the phone screen after confirming the calibration.

### Duet Display

***Compatibility***

This is only available for Apple devices (iOS).

***Description***

Duet is an application made for iPads and iPhones that turns your mobile device into a secondary screen for your iMotions PC.

* Benefit 1: Duet is an inexpensive solution that doesn’t require any subsequent hardware (i.e. no webcam or frame grabber is needed).
* Benefit 2: As the mobile device is turned into a secondary PC screen, implementation within iMotions is more flexible, allowing for the use of image/video, website, screen recording, and survey stimuli.
* Disadvantage 1: By turning your mobile device into a secondary PC screen, any Apple functionality and apps intended for iOS will no longer be available. Duet is not recommended for the testing of any apps that are unique to iOS or mobile formats. Website stimuli, for example, will have to be loaded on the PC in its mobile form and ported to the secondary screen, as opposed to using the phone’s internal browser.

***Software and Hardware***

* App for iOS and PC from [https://www.duetdisplay.com/.](https://www.duetdisplay.com/) Please install the PC app on your iMotions computer, and purchase the app for your mobile device from the App Store.
* Lightning cable (normal charger cable for iPhone and iPad)

***Setup***

* Connect your mobile device to your PC via the lightning cable
* Start the duet app on the mobile device and your PC
* Now, the iPad will show up as a secondary monitor in the Windows Display settings

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

* Open iMotions' *Global Settings > Slide Show* to configure the iPad as a secondary screen. Enter the display size of your mobile device.

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

* Now, you can set up a screen-based study in iMotions by importing images, videos, website links, or survey slides. They will be presented on the mobile device as long as the duet app is opened on the mobile device.
* Please note that as soon as you open another app on your mobile device, the duet app gets pushed to the background and you will no longer see the stimuli on the iPad. Therefore, please use another setup if you want to test the content of an app.

**Notes for interacting with the mobile device:**

* Every eye tracker has a range within which you can move while the eye tracker can still record the gaze, the so-called “headbox”. You find information about your tracker’s headbox in the documents you received from iMotions when you purchased the eye tracker or on the manufacturer’s website. In the iMotions software, you also receive feedback about the size of the headbox in the EyeFinder widget in the sensor bar on the bottom of the screen as well as on the left side of the live viewer.

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

* Before starting the test, instruct your respondent to sit within the range of the headbox (usually, this is a little farther from the mobile device than will feel natural) and let them try out which position feels comfortable but is still within the headbox range.

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

* The respondent mustn't let their hands cover the eye tracker when operating the mobile device, as this will cause missing eye tracking data. Before you start the experiment, it is a good idea to let the respondent try tapping and scrolling on the screen without blocking the eye tracker.

## Apple device screen sizes

Please find the display dimensions of Apple's devices below:

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

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

![mceclip5.png](https://286068319-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FNLNBWkNpljDaAj5rQtNa%2Fuploads%2Fgit-blob-cba7a1bec495787a0bd665028c22f5ea2e2388ec%2Fd38997ba11_3iduhxwahksoqh9k2rkpka.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/screen-based-eye-trackers/smart-eye/eye-tracking-with-mobile-devices-phone-setup.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.
