> 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/remote-data-collection/getting-started-with-online-data-collection/rdc-testing-with-webcam-eye-tracking.md).

# RDC testing with webcam eye tracking

Set up webcam eye tracking in an RDC study, including calibration slides, custom calibration images and a sample study.

This article explains how to set up a remote data collection (RDC) study in iMotions Lab with webcam-based eye tracking. It covers enabling the sensor, adding and customizing calibration slides, and a sample study you can download.

## Study requirements

* Eye tracking must be enabled with **Web Camera** selected as the eye tracker.
* The study must include pre-study and post-study calibration slides. RDC studies include them by default.

## Enabling webcam eye tracking

1. Create a **Remote Data Collection** study.
2. Enable **Eye tracking**.
3. Select **Web Camera**.

![Eye tracking enabled with Web Camera selected for an RDC study](https://286068319-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FNLNBWkNpljDaAj5rQtNa%2Fuploads%2Fgit-blob-0fae4ff7c5cc5c949bf2dd76a5f86b0ff87de87b%2Fbfd48674dd_image-QITR73Q1.webp?alt=media)

## Calibration slides

iMotions automatically adds calibration slides at the start and end of RDC studies that have eye tracking selected as a sensor. The calibration shows 13 points, and respondents keep their gaze fixed on each point while it is shown.

![Calibration stimuli at the start and end of an RDC study](https://286068319-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FNLNBWkNpljDaAj5rQtNa%2Fuploads%2Fgit-blob-e9b73e6ec6f326bcc37b57f5541953aa35c12f5c%2Fcefc811d72_MainWindow_ODC_CalibrationStimuli.webp?alt=media)

### Adding calibration slides to your study

Additional calibration slides improve eye tracking. Add a calibration for every 10 minutes of study stimuli.

1. Click **Edit stimuli** to open the Study Builder.

   ![Edit stimuli button that opens the Study Builder](https://286068319-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FNLNBWkNpljDaAj5rQtNa%2Fuploads%2Fgit-blob-415909fbb9040bc81a337f40d348ed71fc34390b%2F871a9d5aa8_image-14-.webp?alt=media)
2. Click **Calibration**, go to a folder containing webcam eye tracking calibration slides, such as those provided by iMotions, and select one or more image files.

   ![Selecting calibration image files in the Study Builder](https://286068319-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FNLNBWkNpljDaAj5rQtNa%2Fuploads%2Fgit-blob-a0709c3b8c0f052839596cb0d8a645ec4f42a9cd%2F12b8e53602_image-22-.webp?alt=media)
3. The selected calibration image files appear as a **CALIBRATION** block.

   ![CALIBRATION block in the Study Builder](https://286068319-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FNLNBWkNpljDaAj5rQtNa%2Fuploads%2Fgit-blob-42bdb36a44b792f17823b200f91df679771d9814%2Ff57f27d9ba_image-24-.webp?alt=media)

## Customizing calibration stimuli

You can use custom calibration images, coordinates and durations for calibration stimuli.

### Naming convention for calibration slides

Calibration slides must follow a naming convention so that iMotions can identify an image stimulus as part of the calibration of the webcam eye tracking algorithms.

```
[name]_[index]_[x-pos]x[y-pos].png
```

| Part      | Description                                                                                                                    |
| --------- | ------------------------------------------------------------------------------------------------------------------------------ |
| `[name]`  | A user-defined string, such as `calibration` or `calib`. Do not use special characters or underscores (`_`) in the name.       |
| `[index]` | An integer value. It must be the same for different calibration images that have the same (x,y) position but a different name. |
| `[x-pos]` | The x position, in pixels, of the calibration mark in relation to the image resolution. The top-left corner is (0,0).          |
| `[y-pos]` | The y position, in pixels, of the calibration mark in relation to the image resolution.                                        |

Calibration images can be JPG or PNG files. Give them the same resolution as your study.

### Sample calibration slides

iMotions provides six sets of high-resolution (1920x1080) calibration images. You can also create your own calibration images using the naming convention above.

Each set contains 13 images, one for each of 13 calibration locations on the screen (13-point calibration). For a shorter calibration, use the first nine images in a set for a 9-point calibration.

| **High Contrast Background**                                                                                                                                                                                                                                                              | **Gray Background**                                                                                                                                                                                                                                                       | **Black Background**                                                                                                                                                                                                                                                        |
| ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| <p><img src="https://286068319-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FNLNBWkNpljDaAj5rQtNa%2Fuploads%2Fgit-blob-fd5d6597d5907a6f433fdc53dc8664372ea84919%2Fc26bae0b97_squaretarget_highcontrast.webp?alt=media" alt="SquareTarget_HighContrast.png"><br></p> | <p><img src="https://286068319-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FNLNBWkNpljDaAj5rQtNa%2Fuploads%2Fgit-blob-ae27d5d2b0c4b07a8af0df7879f02061a4042858%2Ff229479299_squaretarget_gray.webp?alt=media" alt="SquareTarget_Gray.png"><br></p> | <p><img src="https://286068319-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FNLNBWkNpljDaAj5rQtNa%2Fuploads%2Fgit-blob-7b3cf650acd900059dccfd57fcfd9dc55b4bef79%2F56807257a0_squaretarget_black.webp?alt=media" alt="SquareTarget_Black.png"><br></p> |
| <p><img src="https://286068319-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FNLNBWkNpljDaAj5rQtNa%2Fuploads%2Fgit-blob-a7b12f8448bf664dbad22f03ccb758fb3e272dce%2F64a9981244_crosshair_highcontrast.webp?alt=media" alt="CrossHair_HighContrast.png"><br></p>       | <p><img src="https://286068319-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FNLNBWkNpljDaAj5rQtNa%2Fuploads%2Fgit-blob-d4390c47846fcda61d4d2536ec81e6675aeea5eb%2F88d3905a5a_crosshair_gray.webp?alt=media" alt="CrossHair_Gray.png"><br></p>       | <p><img src="https://286068319-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FNLNBWkNpljDaAj5rQtNa%2Fuploads%2Fgit-blob-d2834b6c2b7a19b4852da11da9c5fe63ee4b2509%2F096c7661bf_crosshair_black.webp?alt=media" alt="CrossHair_Black.png"><br></p>       |

Download the calibration image sets:

{% file src="/files/ze5oBqgVYTtxcX5TQRrT" %}
Gray background, square targets
{% endfile %}

{% file src="/files/EC1Se39C0XjmdUFLS12g" %}
Black background, square targets
{% endfile %}

{% file src="/files/CLL04F7trdvea1fGML6w" %}
Gray background, crosshair targets
{% endfile %}

{% file src="/files/GSbAPHl1sqSxBCdhbJqx" %}
Black background, crosshair targets
{% endfile %}

### Calibration slide duration

Set the viewing time of each calibration slide to at least 2 seconds. We recommend 4 seconds per calibration slide. You can only set this exposure time when you create the study in iMotions Lab, before you upload it to iMotions Online.

If a calibration slide is shorter than 2 seconds, iMotions Online shows the warning below and the **Start remote data collection** button is not available. Delete the study from iMotions Online and upload it again with the correct calibration timing.

![Warning in iMotions Online about calibration slide timing](https://286068319-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FNLNBWkNpljDaAj5rQtNa%2Fuploads%2Fgit-blob-b36b4780a1a47a9cde78d33eb1a867effb7642b2%2Faca7d235b4_odc_warning_timing_calibration.webp?alt=media)

{% hint style="info" %}
Use at least two calibrations, one at the start and one at the end of the study, each with at least nine calibration points and 4 seconds of exposure per calibration slide.
{% endhint %}

### Animated calibration slides

You can also show respondents an animated calibration screen, in which the calibration dot moves to each position. The video below shows a short example.

{% embed url="<https://files.imotions.com/hc_articles/videos/calibration-screen-example.mp4>" %}

To add animated calibration to an RDC study, add these files for pre-study and post-study calibration:

* `WebcamCalibrationSlideTemplates\Animated_Calibration_Placeholders\Pre-study calibration.png`
* `WebcamCalibrationSlideTemplates\Animated_Calibration_Placeholders\Post-study calibration.png`

The `Animated_Calibration_Placeholders` folder appears when you add calibration slides as stimuli in iMotions Lab. When you later view the calibration slides in iMotions Lab, they show as a single image with all 13 fixation points.

## Sample study template

For a sample study set up for webcam eye tracking, download [RDC sample study with webcam eye tracking](https://files.imotions.com/hc_articles/files/odc-samplestudy-wet-twocalibrations.zip) (19.0 MB). In this study, respondents:

1. Go through an initial 13-point calibration (square targets on gray background).
2. Watch one video ad and examine two print ads.
3. Go through a second 13-point calibration (square targets on gray background).

Before each step, written instructions tell the respondent what comes next. The study uses the square targets on gray background set from the sample calibration slides above. It has two calibrations, one at the beginning and one at the end of the study, which is the setup we recommend for webcam eye tracking.

The sample study uses only video and image stimuli to show the calibration setup. A webcam eye tracking study can also test [websites](https://help.imotions.com/lab/remote-data-collection/getting-started-with-online-data-collection/rdc-testing-with-websites.md) and include questionnaires from external survey platforms such as [Qualtrics](https://help.imotions.com/lab/remote-data-collection/getting-started-with-online-data-collection/rdc-testing-with-qualtrics-survey.md).

## RDC eye tracker calibration video

{% embed url="<https://files.imotions.com/hc_articles/videos/rdc-eye-tracker-calibration.mp4>" %}

## WebET whitepaper

See the [iMotions WebET 3.0 whitepaper](https://go.imotions.com/WebET3Whitepaper).


---

# 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/remote-data-collection/getting-started-with-online-data-collection/rdc-testing-with-webcam-eye-tracking.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.
