> 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/analysis/using-annotations.md).

# Using Annotations

Create respondent, stimulus and automated annotations, including from event markers, to calculate signal processing results and AOI metrics for time periods.

**How to Create Annotations to Analyze Data in iMotions**

Annotations are an essential tool for analyzing data in iMotions, enabling you to mark time periods relevant for data analysis. Once annotations are created, Signal Processing results and AOI metrics can be calculated for these time periods.

Annotations are a versatile tool that can be applied to a stimulus (Stimulus Annotations) or recorded data (Respondent Annotations). Respondent Annotations can be automatically created (Automated Annotations) based on [event markers](https://help.imotions.com/lab/analysis/using-event-markers.md) in recordings. This includes [Live Markers](https://help.imotions.com/lab/data-collection/creating-live-markers-during-data-collection.md), [API event markers](https://help.imotions.com/lab/sensor-setup/api/imotions-api-setup-and-programming-guides.md), [Analysis events](#analysis-markers), or any event markers created/available in the [Replay](https://help.imotions.com/lab/analysis/signal-processing-r-notebooks/my-library/respondent-replay.md) (e.g. manually-defined events, standard iMotions events, respondent input events, analysis events, etc.).

[Additional information about iMotions Annotations](https://help.imotions.com/lab/analysis/signal-processing-r-notebooks/my-library/annotations.md).

## Types of Annotations

In iMotions, you can create Stimulus Annotations, Respondent Annotations, and Automated Annotations.

* **Stimulus Annotations** mark time periods within a *static* stimulus (consistent duration/content across respondents) and are applied to all data recorded with annotated stimuli. Stimulus annotations are generally used to mark relevant time periods within video or image stimuli. Stimulus Annotations must be defined manually.
* **Respondent Annotations** mark time periods within individual respondent recordings and are unique to each respondent. Respondent Annotations can be defined manually or automatically. Another program can also create them during the recording by sending start and end markers with the Event Receiving API; see [Annotations from markers](https://help.imotions.com/lab/sensor-setup/api/imotions-lab-api.md#annotations-from-markers).
* **Automated Annotations** also mark time periods within individual respondent recordings, but are automatically applied based on event markers in the recordings. Start/End triggers can be selected from any Event Markers available in your study.

## Creating Annotations

**Once a respondent is recorded, Annotations can be created and edited in the Replay window.** The Aggregate and AOI analysis windows also allow you to create and edit Annotations. Annotations appear in the Gaze Mapping editor, where they can define timelines for the Gaze Mapping procedure, but they cannot be edited here.

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

Open Replay to find Annotations Menus/Panel

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

Replay Window with Annotations Menu (left) and Annotations Panel (bottom right)

### Annotations Menu

The Annotations Menu shows a list of existing Annotations. This menu is used to (1) create and (2) edit properties for existing Annotations. You can open the Annotations Menu by selecting the icon in the left-hand menu. New Annotations are created with the buttons at the top of this menu. Existing Annotations are categorized and listed below.

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

Annotations Menu

#### Create an Annotation

Clicking the Stimulus Annotation or Respondent Annotation buttons at the top will open the panel for naming the annotation, selecting a keyboard key (used when defining annotations), and the color (displayed in the Annotations Panel). Stimulus and Respondent Annotations are then manually defined in the Annotations Panel or imported from a CSV file (described below).

Clicking the Automated Annotation button also opens a panel for name and color. Clicking the 'Setup annotation' button opens the pop-up window for defining the automated annotation by selecting start and end triggers from event markers.

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

Creating a new annotation

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

Setting up automated annotations

#### Setup Automated Annotation

'Offset' controls any shift in the start or end of annotation periods. 'Multiple start/end triggers' controls how automated annotations are created when multiple triggers are encountered without a corresponding end/start. 'Subdivide intervals' allows further sub-division of automated annotations and selecting the 'Length of each division' or 'Number of divisions'.

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

Automated Annotations with Offset and Sub-interval options

#### Adjust Annotation Properties

Hovering over an existing annotation then clicking the pencil icon allows adjustment of Annotation properties. The lock icon can be used to lock/unlock Annotations. The pop-up icon will open a window showing Annotation start/end time and comments. You can also right-click on an existing annotation for these adjustments.

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

Hovering or right-click on any Annotation for editing options

### Annotations Panel (Viewing and Editing)

The Annotations Panel can be found above the timeline. Existing annotations and associated time periods are displayed here.

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

Annotation Panel showing existing annotations (listed in the Annotations Menu to the left)

1. Navigate to Annotations Panel The Annotations Panel displays the timeline for each annotation. The 'Panels' drop-down menu can be used to display/hide the Annotation Panel.
2. Define manual annotations (Stimulus Annotations and Respondent Annotations) You can use your mouse to define Stimulus and Respondent Annotations by clicking-and-dragging in the Annotations Panel. You can also use a keyboard key to enter selected points as the start/end of an annotation (according to annotations settings).
3. Add comments or adjust Annotations as needed Comments and other adjustments are available for Stimulus and Respondent Annotations Right-clicking on any Stimulus or Respondent Annotation will open a drop-down menu for adding comments and other changes to Annotation.

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

   Right-click on Annotation for drop-down menu

   * Deactivate - removes annotation from analysis but leaves the annotation definition
   * Split - creates an additional annotation instance, splitting the selected annotation at the selected time point
   * Edit comment - allows input of text comments (seen in results files and replay windows)
   * Edit start/end time - allows input of specific time points for the start and end of the annotation
   * Delete interval - removes annotation instance completely
   * Lock - prevents further changes to the annotation (unless unlocked)

Automated Annotations are adjusted with the 'Setup automated annotation' process

You can adjust Automated Annotations in the Annotations Menu by hovering over an existing annotation then clicking the pencil icon or right-clicking on the annotation and selecting 'Edit automation'

### Event Markers and Automated Annotations

* Event Markers and Annotations are fundamental tools for analyzing data in iMotions.
* Event Markers are associated with individual time points.
* Annotations are associated with time periods, which are defined by start/end Event Markers (manually or automatically).
* Manual Annotations will generate corresponding Event Markers.
* Automated Annotations can be made from any available Event Markers (e.g. [Live Markers](https://help.imotions.com/lab/data-collection/creating-live-markers-during-data-collection.md), [API event markers](https://help.imotions.com/lab/sensor-setup/api/imotions-api-setup-and-programming-guides.md), [Analysis events](#analysis-markers), or any event markers created/available in the [Replay](https://help.imotions.com/lab/analysis/signal-processing-r-notebooks/my-library/respondent-replay.md)).

### Manual Annotation Workflow

After a Manual Annotation is created, you can navigate your respondent recording to mark the relevant parts of the data on the timeline. You could either use the allocated keyboard keys (defined in your Annotation properties) or your mouse - described below:

#### How to place annotations using allocated keys:

1. Pressing an allocated key will create an Annotation at the current time point in your Replay.
2. This can be done as the video plays back or by stepping through your recording more precisely:
   1. Set the Step size for the cursor to the right level of precision (e.g., per ‘x’ milliseconds, per frame, etc.)
   2. Use the left and right arrow keys to place the cursor precisely where the annotation should start.
   3. Press the allocated key for the annotation; now, the annotation shows up from the start time until the end of the timeline.
   4. Repeat step 2 to place the cursor precisely where the annotation should end

Press the dedicated key for the annotation; now, the annotation is set from the start time until the cursor.

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

#### How to place annotations using your mouse:

1. Hover over the Annotation panel and row for the Annotation you want to define, which should show a Pencil icon.
2. Click the Pencil to manually draw an annotation (by clicking at the desired start location and releasing at the end location); now, the annotation is placed on the timeline.
3. To adjust the start time, first, set the Step size for the cursor to the right level of precision (e.g., per ‘x’ milliseconds, per frame, etc.)
4. Use the left and right arrow keys to place the cursor precisely where the annotation should start.
5. Hover over the edges of the annotation; note that the mouse icon becomes a ‘\[’ and ‘]’ in these areas
6. Grasp the start of the annotation (by clicking and holding the mouse ‘\[’) and snap the annotation to the cursor
7. Hereafter, repeat step 4 and 5 and place the cursor precisely where the annotation should end
8. Grasp the end of the annotation (by clicking and holding the mouse ‘]’) and snap the annotation to the cursor

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

### Importing Annotations from CSV file

You can also define Stimulus and Respondent Annotations by importing a CSV file. The CSV file must be formatted with a header row that contains 'Respondent Name', 'Stimulus Name', 'Marker Type', 'Marker Name', 'Start Time', 'End Time', 'Comment', and 'Color'. Note: These headers must be in this order and verbatim, at the top of the CSV file, as shown in this example file:

{% file src="/files/4lhSopgYbM9L8ENedvSS" %}

| Respondent Name | **Stimulus Name** | **Marker Type**       | **Marker Name** | **Start Time (ms)** | **End Time (ms)** | **Comment**                                        | **Color** |
| --------------- | ----------------- | --------------------- | --------------- | ------------------- | ----------------- | -------------------------------------------------- | --------- |
|                 |                   |                       | First 10s       | 0                   | 10000             | Annotation for first ten seconds of every stimulus | #0000FF   |
|                 | Chewing gum ad    | Stimulus Annotation   | Brand mentioned | 5000                | 5500              | Actress mentions brand                             | #2FD09F   |
|                 | Chewing gum ad    | Stimulus Annotation   | Brand mentioned | 21000               | 21500             | Brand presented in video                           | #2FD09F   |
| Respondent 1    | Chewing gum ad    | Respondent Annotation | Laughed         | 4000                | 4500              |                                                    | #FF0000   |
| Respondent 1    | Rating scale      | Respondent Annotation | Laughed         | 1200                | 1700              |                                                    | #FF0000   |
| Respondent 2    | Chewing gum ad    | Respondent Annotation | Laughed         | 8500                | 9000              |                                                    | #FF0000   |
| Respondent 2    | Rating scale      | Respondent Annotation | Laughed         | 3500                | 3800              |                                                    | #FF0000   |

#### CSV file format

Column 1: *Respondent Name* (Allowed values: Text input or blank) If specified, the annotation will only be applied to the respondent with this name. If left blank, the annotation will be applied to all respondents in the study

Column 2: *Stimulus Name* (Allowed values: Text input or blank) If specified, the annotation will only be applied to the stimulus with this name. If left blank, the annotation will be applied to all stimuli in the study.

Column 3: *Marker Type* (Allowed values are: 'Respondent Annotation', 'Stimulus Annotation' or blank) If Respondent Annotation is specified, the annotation will be added as a Respondent Annotation based on the Respondent Name If Stimulus Annotation is specified, the annotation will be added as Stimulus Annotation and appear in aggregated replays. Stimulus annotations are always added to all respondents, so specifying a

Respondent name is not needed. If left blank, the annotation is added as Respondent annotation.

Column 4: *Marker Name* (Allowed values: Text input) Name of the Annotation. This must be specified and cannot be left blank.

Column 5: *Start Time (ms)* (Allowed values: Floats, i.e. numeric values) Start time of the annotation relative to stimulus start, in milliseconds.

Column 6: *End Time (ms)* (Allowed values: Floats, i.e. numeric values) End time of the annotation relative to stimulus start, in milliseconds.

Column 7: *Comment* (Allowed values: Text input or blank) Comment to be added to the current annotation

Column 8: *Color* (Allowed values are: Text input or blank. Color must be specified in hex code (e.g. #FF0000 creates a red Annotation)

#### To import the CSV file

1. Right-click on the study name.
2. Select External Data > Import annotations from CSV.
3. Browse for your file and import.

## Using Event Markers to Create Annotations

Automated Annotations can be created from any Event Markers in your recordings. This includes (1) iMotions Events for stimulus presentation events, keyboard events, and mouse events and (2) Analysis Events from Signal Processing (R Notebooks) and AOI analysis, such as the onset/offset of GSR peaks, blink, muscle contractions, or AOI dwells. These Analysis Markers can be used as start/end triggers for Automatic Annotations. This greatly facilitates multi-modal analysis, allowing each sensor to inform the analysis of others. Results from these Annotations provide information about the relationships between signal events.

### iMotions Markers

#### Keyboard and Mouse events

Keyboard events - Indicates key presses and key name

Mouse events - Indicates mouse button presses, cursor movement, and scrolling

#### iMotions Events for stimulus presentations events

Recording events - Mark the start and end of the respondent recording (across all stimuli)

Slide events - Mark the start and end of iMotions stimulus presentation (in general)

Stimulus events - Mark the start and end of iMotions stimulus presentation (labeled with stimulus name)

Web events - Mark web browser events when the 'Page loaded' and 'Scroll' occurred (for all or specific webpages)

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

Keyboard and Mouse Events (left); Other iMotions Events and Web Events (right)

### Marker Filters

Events with additional properties (e.g. Web Events, API Events, or LSL Events) can be selected with a text filter, available in the automated annotation window (in iMotions 10.1.2 onward). This filter will search the event for the entered string and only retain those events that contain the string.

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

Event Marker Filters for Automated Annotations for web stimuli or API events

### Analysis Markers

After AOI Analysis and/or Signal Processing (R Notebooks)

For example, if you want to know the number of GSR peaks that occur while respondents dwelled on an AOI, you can set up and run the AOI analysis, then use the resulting AOI Dwell Start/End markers (found in the Markers Menu/Panel) to create Automated Annotations while the AOI was dwelled upon.

To Use Analysis Events to Create Automated Annotations:

1. Set up and run AOI or Signal Processing Analysis
2. Open a Respondent Replay and open the Annotations Menu and Annotations Panel.
3. Click the Create Automated Annotation button in the Annotations Menu.
4. Select a start and end trigger from Analysis Events - typically, onset and offset pairs.

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

   Creating Automated Annotation with Analysis event triggers (i.e. AOI 1 dwell start/end)
5. Some Analysis events can be interpreted into Automated Annotations with 'preset' options (currently available for 'AOI dwelled on').

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

   Creating Automated Annotations for Analysis events with preset options (i.e. 'AOI dwelled on')
6. Click 'Create' to return to the Replay window where Automated Annotations appear (i.e. 'AOI 1 dwelled on').

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

   Replay Window showing Automated Annotation for Analysis Events (i.e. 'AOI 1 dwelled on')

## Exporting Annotations

You can export Annotations independently or along with Sensor Exports or R-Processed Exports.

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

Analysis Export button

### Annotations Data Files

Annotations can be exported into a CSV file.

Click 'Export' to create two files: **Individual Annotation Data.csv** contains a list of all annotations with the 'Respondent Name', 'Stimulus Name', 'Marker Type', 'Marker Name', 'Start Time', 'End Time', 'Comment', and 'Color'.

**Aggrergate Annotation Results.csv** contains the average duration for each annotation, along with the standard deviation and other information about the analysis

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

Annotation data export

### Annotations in Sensor Data export files

Annotations can also be exported as part of the sensor data export CSV files. Here, the annotations mark all data samples that are present within the time range of the annotations.

1. Open the 'Sensor Data' export window

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

   Sensor Data export
2. Select the 'File Info' tab and check 'Include Annotation markers'
3. Check any additional options for Annotation markers (by default, a column is created for each Annotation with a 1 or 0 indicating if the data point is associated with the Annotation) ![](https://286068319-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FNLNBWkNpljDaAj5rQtNa%2Fuploads%2Fgit-blob-b2eb6b04204dcae9416bfecd4f9a13f8d503698a%2F0df91f8ab4_image-1725641777435.webp?alt=media)

   File Info Annotation settings for Sensor Data export

### Annotations in R-Processing export files

Annotations are automatically exported as part of most R-Processing export CSV files. Here, Annotations serve as 'measurement windows' for the data generated by R-Notebooks (see also: [**R-Notebooks**](https://help.imotions.com/lab/analysis/signal-processing-r-notebooks/what-are-r-notebooks.md)) and are used to calculate exported metrics.

For instance, if you would have applied a peak detection R-Notebook for detecting peaks in the electrodermal activity data (a measure of physiological arousal) and you export the metric export file, then you would be able to retrieve the peak results *for every annotation* and even *for every annotation fragment* (e.g., whether a peak was detected, how many peaks were detected, the average amplitude of the peaks, etc.).

You can also include Annotations for 'Individual metrics exports', where Annotation markers are included where applicable.

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

Individual metrics exports with Annotations options

## Scenarios for Using Annotations

Annotations are a versatile tool for analyzing data in iMotions - by classifying time periods for subsequent comparisons. Below, we discuss how Annotations apply to common research scenarios and provide recommendations for types of Annotations to use in different cases.

* Stimulus Coding (Segmenting stimuli)
* Human Behavior Coding (Qualitative segmentation by experimenter)
* Event Analysis (Epoching data with event markers)
* Interval Analysis (Time-window binning)
* Using Sensor Analysis Events to Create Annotations

#### Stimulus Coding (Segmenting stimuli)

You can segment stimuli into relevant time periods for your analysis with Manual or Automated Annotations.

Stimulus Annotations are recommended for coding *static* stimuli (that have consistent duration and content across respondents, such as images and videos). Any Replay window can be used to create Stimulus Annotations manually, then apply them across all recordings involving the stimulus in the study.

Stimulus Annotations are typically used for analysis of stimulus-driven events, like reactions to video commercials, trailers, films, etc. Hence, if your analysis focuses on the respondents' emotional response to specific time periods in the video, we recommend Stimulus Annotations. This has two benefits: (1) Stimulus Annotations automatically apply to all respondents and (2) Aggregate Analyses are available for Stimulus Annotations (e.g. heatmaps and group metrics for observing responses from all respondents).

Respondent Annotations are necessary for *dynamic* stimuli, due to their variable duration and content, which are unique to each respondent. This includes screen recordings, websites, cameras, VR environments, etc. These Annotations can be applied manually or automatically based on available event markers.

Automated Respondent Annotations are recommended when dynamic stimuli must be segmented into more numerous time periods. This requires creating Event Markers that indicate the start and end of each Annotation. This can be done with (1) Live Markers created while monitoring data collection, (2) Manual Respondent Markers created while reviewing stimulus recordings, or (3) API Markers created by stimulus presentation software (additional setup for iMotions Event Receiving API required), which are covered in the other scenarios described here.

For Stimulus Coding (Video media):

1. Open a Respondent Replay and open the Annotations Menu and Annotations Panel.
2. Click the Create Stimulus Annotation button in the Annotation Menu and label as needed.
3. Set a Key for each annotation, which will be used to create the start/end points of the Annotations.
4. Navigate to the start point for an Annotation by playing back your recording (additional playback speeds available: 0.25x, 0.5x, 2x) or by selecting the time point with the red cursor in the replay timeline.
5. Press the annotation key to create the start of an Annotation.
6. Navigate to the end point for the Annotation and press the annotation key again to end the Annotation
7. Adjust Annotations (as needed) in the Annotation Panel, by clicking and dragging the start or end point. This Annotation will snap to the current timepoint (indicated by the red cursor)
8. These steps can be used to define multiple instances of any Annotation (unless dragged further from the red cursor).
9. For precise Replay navigation, you can pause the recording and define a Step for moving through the recording and defining Annotations (option to set each Step to iterate by milliseconds, number of frames, or marked events). Hereafter, forward/backward buttons (in the Replay window) or the left/right arrow keys (on the keyboard) will step through the replay at the selected interval.

Demo study: Sony Bravia (Testing of video commercials)

#### Human Behavior Coding (Qualitative segmentation by experimenter)

Respondent Annotations can be used to code behaviors or apply any other classification to your iMotions recording (e.g. experimental conditions, factors, etc.). This allows the traditional approach of coding data based on your observations in iMotions recordings. This also allows coding based on any other information available in the iMotions Replay window, such as sensor data and analyses.

For Human Behavior Coding:

1. Open a Respondent Replay and open the Annotations Menu and Annotations Panel.
2. Click the Create Respondent Annotation button in the Annotation Menu to create an Annotation for each classification you intend to use.
3. Set a Key for each annotation, which will be used to create the start/end points of the Annotations.
4. Navigate to the start point for an Annotation by playing back your recording (additional playback speeds available: 0.25x, 0.5x, 2x) or by selecting the time point with the red cursor in the replay timeline.
5. Press the annotation key to create the start of an Annotation.
6. Navigate to the end point for the Annotation and press the annotation key again to end the Annotation
7. Adjust Annotations (as needed) in the Annotation Panel, by clicking and dragging the start or end point. This Annotation will snap to the current timepoint (indicated by the red cursor)
8. These steps can be used to define multiple instances of any Annotation (unless dragged further from the red cursor).
9. For precise Replay navigation, you can pause the recording and define a Step for moving through the recording and defining Annotations (option to set each Step to iterate by milliseconds, number of frames, or marked events). Hereafter, forward/backward buttons (in the Replay window) or the left/right arrow keys (on the keyboard) will step through the replay at the selected interval.

   Note: Multiple instances can be defined for any Annotation. Event Markers can be used with Automated Annotations to facilitate Human Behavior Coding. Demo study: In-store VR (Shelf-testing in VR environment)

#### Event Analysis (Epoching data with event markers)

Automated Annotations can be used to define event-related 'epochs' to analyze response before, during, or after certain events. In this scenario, many repetitions of these events may occur, and you would define a time-window of a certain window length centered around the events.

For instance, it could be that you would define time-windows that range from 1 second before until 2 seconds after every event. It could also be that you would define time-windows that range from an onset event (e.g., a stimulus appears) to an offset event (e.g., a correct or incorrect response is detected) to analyze data from categorized time periods.

The precise timing of events is critical for these analyses. Ideally, Automated Annotations can be based on automatically generated Event Markers, such as Stimulus events, Keyboard events, Mouse events, or API events. The following steps include a screenshot example that will create Automated Annotations that will start 1 second before a 'False' response/event marker and end 2 seconds after the event.

For Event Analysis:

1. Confirm that relevant Event Markers are available in your Respondent Recording.
2. Open a Respondent Replay and open the Annotations Menu and Annotations Panel.
3. Click the Create Automated Annotation button in the Annotations Menu.
4. Use the 'Setup automated annotation' interface to select relevant start and end triggers (i.e. Event Markers) for your epochs.
5. Adjust offsets (as needed) entering an offset time then selecting 'Before' or 'After' (to shift the start or end of the Annotation, accordingly).

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

Demo study: Strooptest (Psychology experiment)

#### Time Interval Analysis (Time-window binning)

Automated Annotations can also be used to bin, or sub-divide, your recordings into time-windows. You can select the (a) number or (b) duration of time windows used to define Automated Annotations. This is typically applied when time is an experimental factor (e.g. comparing start, middle, end, time-on-task) or analysis involves regular time periods (e.g. every second, minute, etc.).

For Interval Analysis:

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

Creating Annotations intervals

1. Open a Respondent Replay and open the Annotations Menu and Annotations Panel.
2. Click the Create Automated Annotation button in the Annotations Menu.
3. Select a start trigger from where you want to begin binning your data (e.g. Start of the Recording, Stimulus, or any other event)
4. Select an end trigger where bins will end (e.g. the End of the Recording, Stimulus, or any other event)
5. Enable 'Subdivide intervals'
6. Choose to subdivide this Annotation by 'Length of each division' or 'Number of divisions' (with equal duration) and adjust this value as needed.

Demo study: Sony Bravia (Testing of video commercials)


---

# 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/analysis/using-annotations.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.
