> 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/eye-tracking/areas-of-interest/how-to-create-aois.md).

# How to Create AOIs

Create manual and automated AOIs on stimuli, apply them across respondent recordings and import them from a CSV file to calculate AOI metrics.

This article shows how to create areas of interest (AOIs) on the stimuli in an iMotions Lab analysis. An AOI marks a part of a stimulus, such as a logo, a product or a button. Once AOIs are defined, you can calculate AOI metrics and create event markers that show when respondents looked at them.

AOIs are created and edited in the AOI Analysis Window, which is available in any analysis that includes eye tracking data. The editor and the metrics are described in full in [Areas of Interest (AOIs)](https://help.imotions.com/lab/analysis/eye-tracking/areas-of-interest/areas-of-interest-aois.md).

## Types of AOIs

Which type of AOI you need depends on the stimulus.

* **Static AOIs** are drawn on a stimulus where the objects stay in place, such as an image, a survey slide, a [Gaze Map](https://help.imotions.com/lab/analysis/eye-tracking/gaze-mapping/gaze-mapping.md) or a [website export](https://help.imotions.com/lab/analysis/eye-tracking/gaze-mapping/creating-heatmaps-and-aggregates-from-websites.md). The AOI keeps its shape and position for the whole stimulus.
* **Dynamic AOIs** are drawn on a stimulus where objects move, appear and disappear, such as a video, a recording from eye tracking glasses, a screen recording or a website interaction. A dynamic AOI has a timeline that sets when it is active, and keyframes that move, resize or reshape it so that it stays over the object.
* **Automated AOIs** are dynamic AOIs that iMotions places with computer vision object tracking, so that you do not have to adjust them by hand. They require the Automated AOIs module.

AOIs on a stimulus that is the same for every respondent, such as an image or a video, are applied across all respondents. Recordings that are unique to each respondent need AOIs for each respondent, see [Applying AOIs across respondent recordings](#applying-aois-across-respondent-recordings).

## AOI Analysis Window

Opening the AOI Analysis Window

1. Once an analysis has been created, select a stimulus/respondent with eye tracking data
2. Click the 'AOI'
3. Click 'Open analysis' ![mceclip1.png](https://286068319-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FNLNBWkNpljDaAj5rQtNa%2Fuploads%2Fgit-blob-be54d8558084b75c49b41bfa7887af19df393751%2F76e76d842d_ujeaoze7nu6k6wn7rajkrg.webp?alt=media)

### AOI Window Interface

The AOI Analysis Window allows you to create, view, and edit AOIs.

The AOI Analysis Window also allows you to calculate and view AOI Metrics.

The contents of your Analysis Window can be adjusted with the 'Panels' button or Menu Icons and by dragging panel boundaries.

In this example AOI Analysis Window:

* AOIs are created with the buttons (in the yellow rectangle).
* AOIs appear in the 'Stimulus' panel (in the orange), where they can be drawn and edited.
* The AOI Timeline panel (in the purple) shows a list of AOIs and when they are active. The AOI Timeline is used to edit AOI properties and other AOI features (e.g. keyframes for Dynamic AOIs).
* AOI Metrics panel (in the dark purple) shows calculated AOI metrics.
* The Menu Icons (in the red) includes the AOI menu (4th icon) and the AOI Metrics menu (5th icon).
* The AOI Editor (in the green) provides input options for precise definition of your AOIs
* Replay Navigator (in the brown) and Annotations panel (in the blue) are available to conduct AOI analysis.
* You can switch between the 'Replay', 'Aggregate', and 'AOI' interfaces with the buttons at the top (in the dark green)

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

### Areas of Interest Menu

* The 'Areas of Interest' menu provides buttons for creating AOIs and groups. You can also import AOI templates from this menu.
* This menu provides a list of existing AOIs and options for editing, displaying, locking, deleting, and making other changes to AOI properties.
* We recommend allocating a Key to facilitate AOI creation and editing.

![mceclip17.png](https://286068319-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FNLNBWkNpljDaAj5rQtNa%2Fuploads%2Fgit-blob-7eba35d2b4a1519e067ac45c18b098d60a11b982%2F193dc61869_tqum72dxmei1zzvrgyjiamceclip17.webp?alt=media) ![mceclip16.png](https://286068319-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FNLNBWkNpljDaAj5rQtNa%2Fuploads%2Fgit-blob-c20a138b6c836bd0e57c30b8d7f199c4f9a6284e%2F4dd73e3691_7jadsh1kc0spl4yyk2dofgmceclip16.webp?alt=media)

## Creating Manual AOIs

Manual AOIs are created with the **Draw AOI** button at the top left of the stimulus.

1. Click **Draw AOI**.
2. Optionally, enter a name for the AOI. You can change it later.
3. On a dynamic stimulus, optionally assign a key that turns the AOI on and off.
4. Select the drawing tool: rectangle, ellipse, polygon or grid.
5. Optionally, select the color used to show the AOI in the Stimulus panel and the other panels with AOI information.
6. Click **Start drawing**.
7. Click and drag on the stimulus to place a rectangle or an ellipse. For a polygon, click once for every corner.

To stop without creating the AOI, click **Cancel Drawing**.

### Dynamic AOIs

* Dynamic AOIs are any AOI that moves throughout a dynamic stimulus recording (like a video, a mobile glasses recording, a screen/camera recording, or a website interaction).
* Dynamic AOIs can be made by interpolating between adjustments to Manual AOIs and setting Keyframes for those adjustments. This is typically used to track a moving AOI that has a predictable velocity (e.g. a moving person, vehicles, objects, etc.) or screen/website recordings that contain scrolling. Since objects change location, you can use dynamic AOI to adjust/verify that the AOI remains over the relevant area in the stimulus.
* You can do so by using Automated AOIs with built-in object tracking (available from iMotions 10.1 onward; also requires module for Automated AOIs) or manually editing your AOI so that it is always following the object.
* If you have a completely static stimulus (like an image, survey slide, [Gaze Maps](https://help.imotions.com/lab/analysis/eye-tracking/gaze-mapping/gaze-mapping.md), or [website exports](https://help.imotions.com/lab/analysis/eye-tracking/gaze-mapping/creating-heatmaps-and-aggregates-from-websites.md)), then standard (static/non-dynamic) AOIs are generally sufficient.
* Dynamic AOI terminology:
  * **Key frames:** Every time, the geometric shape of the AOI changes (i.e. when it is made bigger), this is marked with a key frame under the timeline. Key frames are always the result of a user action (reshaping, resizing, relocating) or placed by the automation feature, which updates the AOI geometry at a defined sampling rate.
  * **Interpolation:** In between key frames, the AOI will either remain at the location it was placed at, or can move through linear interpolation. The shape of the key frame as well as the dotted line under the timeline tell you whether an AOI is interpolating in between key frames or not.

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

### Manual Workflow for Dynamic AOIs

**Dynamic AOI timelines**

When you define an AOI on a dynamic stimulus, you will notice that a colored line will appear in the 'AOI Timeline' panel. The AOI Timeline indicates when the AOI is active (turned on) or inactive (turned off), which should correspond with the presence or absence of the dynamic objects covered by the AOI.

* Creating an AOI automatically applies the AOI from the selected time point to the end of the recording.
* You can adjust the AOI Timeline into any number of intervals
* Adjusting AOIs with your mouse:
  * Hovering over any AOI timeline will bring up a pen icon ![mceclip7.png](https://286068319-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FNLNBWkNpljDaAj5rQtNa%2Fuploads%2Fgit-blob-3835e1d56c05a1ba3a09a021e3dcd64ddeac3985%2Fb823510561_aad8fv7mteiuajbmytsoqmceclip7.webp?alt=media), then dragging the interval start/end points.
  * To enter a specific start/end time, right-click for input of specific times
  * To remove or include an interval in your AOI metrics, right-click it and select 'Activate' or 'Deactivate'.
  * To remove an AOI interval completely, right-click on the interval and select "Delete interval".
* Pressing the keyboard Key (allocated in the AOI menu) creates a start/end point of an AOI interval at the current time point.
* To undo any changes, you can always undo adjustments with the arrow keys or Ctrl+Z on your keyboard.

**AOI keyframes**

* Every time you edit the AOI (including change in size, shape, or rotation), an AOI keyframe gets placed. This is indicated by a small square or diamond right below the AOI timeline.
* The square indicates an edit at the current keyframe (e.g. change of location), whereas the diamond indicates that the keyframe is also the starting point of a linear interpolation.
* Right next to the AOI name in the AOI timeline panel, you can find a small dialogue to interact with the AOI keyframes

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

  * You can jump between AOI keyframes by selecting the option in the Playback Navigator and stepping forward/backward (with the arrow keys or clicking the 'step' buttons)
  * Clicking on the square/diamond will turn interpolation off or on

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

**Turning an AOI off and on**

When the object leaves the screen, turn the AOI off in one of these ways:

* Right-click the AOI shape and select **Deactivate**.
* Drag the end of the AOI timeline to the current frame.
* Right-click the AOI timeline and select **Deactivate**.
* Press the key you assigned to the AOI.

While an AOI is turned off, its shape is not shown on the stimulus and no AOI metrics are calculated for that time. To turn it on again, right-click the AOI timeline and select **Activate**, or press the key you assigned to the AOI.

**Using interpolation**

* As a default, the AOI will always remain in its current state (i.e. at its current location with the current size) until you edit it. However, especially if you want to track a movement across many frames, you can use linear interpolation to make the AOI move from one location to the other without having to manually adjust it on every frame in between.
* You already read about AOI keyframes in the previous section. If you edit a dynamic AOI, e.g. change its location, this animation event will be indicated with a little square below the timeline. The AOI will remain at its original location and then suddenly appear at the new location at the indicated keyframe.
* If you want your AOI to move from one location to the other (e.g. because you want to track a linear motion), you can activate interpolation. You can either do so by
  * clicking on the diamond icon in the dialogue next to the AOI name

    ![mceclip2.png](https://286068319-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FNLNBWkNpljDaAj5rQtNa%2Fuploads%2Fgit-blob-4f4ad2220f0ca4a40c1b208e7ed75ea255cadd8f%2Fcddad99ac9_qpethoidleac1qifncclqwmceclip2.webp?alt=media)
  * or by right-clicking on the AOI shape and selecting "Interpolate"
* If interpolation is turned on at one keyframe, all subsequently placed keyframes will also activate the interpolation. If you want to stop this and do not want your AOI to automatically be moved, you can turn interpolation off by
  * clicking on the square icon in the dialogue next to the AOI name

    ![mceclip4.png](https://286068319-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FNLNBWkNpljDaAj5rQtNa%2Fuploads%2Fgit-blob-ffb58f625e9c7daef94d4159c13370b37d1614eb%2Fa831732e2e_e5zdlb0vaea8nwmth7mp8amceclip4.webp?alt=media)
  * or by right-clicking on the AOI shape and ticking off "Interpolate"

## Automated AOIs

From iMotions 10.1 and onward, it is possible to place AOIs on dynamic stimuli automatically using computer vision.

* This feature requires the activation of the Automated AOIs module and works best on PCs with an [NVIDIA RTX graphics card](https://help.imotions.com/lab/support-and-troubleshooting/faq/gpu-information-for-automated-aois.md).
* Note: Prior to initial use, iMotions will prompt the user to install the Automated AOIs package - this occurs the first time you click on 'Automated AOI'.

### Defining and Processing Automated AOIs

Working with **Automated AOIs requires the definition of at least one&#x20;*****input frame***, i.e. a frame in the video where the object that you wish to track is clearly visible.

You can choose to select more input frames if your object is changing a lot throughout the recording.

To define an AOI through the automation feature, you have five options:

1. Right click on the object visible in the stimulus and select “Automate"
2. Click on “Automate AOI” > New AOI
3. If you already have started drawing an AOI manually (rectangle only), right click on the AOI and select “Automate”
4. If you already have an existing AOI, or defined an AOI on other respondents, click on “Automate AOI” > Existing AOI
5. If you already defined an AOI on other respondents, click “Automate” on the timeline

On the input frame, you select the object by clicking on it until it is entirely covered by an orange mask. Black dots indicate where you clicked. If the mask exceeds the object, you can *Ctrl+click* to set negative points (red) to tell iMotions that this is not a part of the object.

The first time you click on a video frame, iMotions prepares the frame for object recognition and shows **Preparing the image** on the stimulus until the mask appears. On older PCs this can take several seconds. While the message is shown, **Next** and **Start** are unavailable.

The rectangle around the mask is a preview of the resulting AOI. Please note that you need to process the video in order to get the actual AOI over the entire video.

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

### Creating Input Frames

**Input Frames are defined by input points or regions** (in iMotions 10.1.11 or newer; previous versions only have the point option).

**Automated AOI shape options** include **Rectangles, Ellipses, and Polygons** (in iMotions 10.1.8 or newer; previous versions only have the rectangle option).

The **Input Frame panel** can be found in the AOI Analysis Window and:

* Allows definition of Input Frames and provides information about user interface
* Allows selection of Automated AOI shape (Geometry Type)
* Displays information about existing input frames, points, and regions
* Allows adjustment of Automated AOI Timeline range

  <figure><img src="https://286068319-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FNLNBWkNpljDaAj5rQtNa%2Fuploads%2Fgit-blob-dc58d5f2fd59e505379cfc7ca86d7ec3affb0209%2F4c39772214_image-5W8QINWE.webp?alt=media" alt=""><figcaption><p>Input Frame panel</p></figcaption></figure>

1. **Open the Input Frame panel** (steps from AOI Replay Window)**:**
   1. Navigate to a video frame that includes the object that will define the Automated AOI.
   2. Right-click on the object and select ‘Automate new AOI’ (to open the panel for a new AOI and initial input point).
   3. Alternatively, click Automate AOI and select ‘New’ (to open the panel for a new AOI without creating an input point).
   4. Existing input frames are indicated with a black dot in the AOI Timeline.
2. Select **Geometry Type**: Rectangular, Elliptical, or Polygonal (options depend on iMotions version, as noted above)
3. Add **Input Points or Regions:**
   1. **Left-click** - Adds **‘positive points**’ that are associated with the AOI object
   2. **Right-click** - Adds ‘**negative points**’ that are *not* associated with the AOI object
   3. **Ctrl+Left-click and drag** - **Defines region** associated with the AOI object

      <figure><img src="https://286068319-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FNLNBWkNpljDaAj5rQtNa%2Fuploads%2Fgit-blob-83276f2f30b5fd71528db17fcbc805ca63ec7e02%2Fb091e47ba9_image-J3PEWBWM.webp?alt=media" alt=""><figcaption><p>Input Frames with Input Points (left) and Input Region (right)</p></figcaption></figure>
4. Adjust **Skip frames** (as needed):
   * Skip frames = the number of frames between Automated AOI key frames, processing, and definitions.
   * The AOI will be interpolated between the resulting key frames.
     * The default is generally recommended (i.e. 2 skip frames).
     * Lower Skip frames (processing more frames) are needed if the AOI object moves constantly or quickly.
     * Higher Skip frames (processing fewer frames) can be used if the AOI object remains in a stable, predictable location or moves slowly.
     * Increasing Skip frames can help reduce processing time (by skipping X frames and reducing the number of processed frames).
     * Increasing Skip frames provides ‘coarser’ (but faster) processing and would interfere with object tracking for movements that occur between processed frames (especially non-linear movements).
5. Adjust **Automated AOI time range:**
   1. Include all times where the AOI object should be detected (e.g. when the object is expected to be visible) - only the highlighted times will be processed.
   2. Exclude these times that are not relevant for your AOI analysis.
   3. Exclude times when the object is not expected or out of view (optional but recommended, to reduce processing times).
   4. **Options for setting Automated AOI time range:**
      * Clicking-and-dragging the time range in the AOI Timeline panel
      * Right-clicking to activate and deactivate
      * Editing the time range in the Input Frame panel

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

{% embed url="<https://files.imotions.com/hc_articles/videos/making-auto-aoi-1.mp4>" %}

### Reviewing and correcting Automated AOIs

Once the processing is completed, iMotions will return an AOI geometry per processed video frame, indicated by the AOI key frames on the timeline. Unless you chose to process all frames, i.e. to skip 0 frames ahead, iMotions interpolates the AOI geometry in between key frames.

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

We strongly recommend you to replay the entire processed time range and visually inspect whether the AOI got placed in a satisfactory way.

You can easily step from keyframe to keyframe with the arrow buttons or arrow keys on your keyboard (requires you have an AOI selected).

Please note that upon completion of the processing, iMotions will default to stepping per AOI keyframe.

Once you have reviewed the AOI, we recommend you remove the “Automation Completed” message by ticking it off.

If you are not satisfied with the resulting AOI, you have two options:

* manually editing the AOI on the keyframes
* re-running selected time ranges with new input frames

To manually correct an AOI, find the key frames where you want to change the AOI and edit it through resizing, rotating, relocating, or turning it off or on.

These are the same steps as drawing an AOI manually (see above) and your changes will overwrite the result of the automated processing.

It is also possible to completely clear the AOI timeline as well as key frames in a selected time range by *right clicking on the timeline > Select range to delete..*

If you wish to re-run the automated AOI processing on selected time ranges, this will allow you to provide new input frames and select new time ranges.

The old results in these time ranges (both key frames from the automation as well as manual changes) will be overwritten and replaced with new results. This action can be undone by using the arrow buttons or hitting *Ctrl+Z* on your keyboard.

To reprocess time ranges of an already existing AOI, you can

* click on “Automate AOI” > Existing AOI and then select the AOI
* right click on the AOI and select “Automate”

{% embed url="<https://files.imotions.com/hc_articles/videos/overwriting.mp4>" %}

> Tip
>
> When new input frames and time ranges are added to an AOI that already has an AOI drawn (e.g. from previous processing), then this existing AOI will be shown in black while the preview of the new AOI (the result of the input frames you set) will be shown in color. You can choose to show or hide the existing AOI geometry by right clicking on it.
>
> <img src="https://286068319-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FNLNBWkNpljDaAj5rQtNa%2Fuploads%2Fgit-blob-92ee49e2321f5105b3e2ad950fff9cf718d55f6f%2Fbfd4363eb6_image-82-.webp?alt=media" alt="" data-size="original">

## Applying AOIs Across Respondent Recordings

If you are working with recordings that are unique for each Respondent, then you will have to define AOIs individually for every single respondent. This applies to the following study stimuli:

* Recordings from mobile eye-tracking glasses
* Recordings from a scene camera setup, including setups using a frame grabber
* Screen recordings
* Website recordings
* VR stimuli

Existing AOIs are applied to all respondents to be defined per respondent with the following options in the AOI Timeline:

* Drawing AOIs per respondent
* Importing an already existing AOI
  * Reusing a shape that you already defined for another respondent. This will apply the initial shape and import the timeline. Note: Dynamic adjustments are not included and must be applied, if they differ from the initial/imported AOI and its timeline.
  * Importing an AOI template
* Start a new automation for this respondent

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

## Importing AOIs from CSV file

AOI definitions can be imported into your study

* *Respondent Name*
  * Allowed values are: Text input (or blank)
  * The column can only be left blank if it constitutes a keyframe succeeding an initial dynamic AOI definition row
  * For static AOI definitions, the name should correspond to one valid respondent across the file (as a static AOI will be applied for all respondents) compared to a dynamic AOI which is unique for each respondent
  * Is case sensitive
* *Stimulus Name*
  * Allowed values are: Text input (or blank)
  * The column can only be left blank if it constitutes a keyframe succeeding an initial dynamic AOI definition row
  * Is case sensitive
* *AOI Name*
  * Allowed values are: Text input (or blank)
  * The column can only be left blank if it constitutes a keyframe succeeding an initial dynamic AOI definition row
* *Color*
  * Allowed values are: Text input or blank
  * Optional
  * Must be specified in hex code
* *Group*
  * Allowed values are: Text input or blank
  * Optional
  * Includes the AOI within the named group
* *Timestamp (ms)*
  * Allowed values are: Text input
  * Allowed values are integers or floats (numeric values with decimals indicated by a “.”).
  * Start time of the AOI relative to stimulus start (Video or Screen Recording), in milliseconds
  * For a static AOI definition, the timestamp is ignored (but still needs to be set, e.g. to “0”)
* *Is active*
  * Allowed values are: Text input (dynamic AOI) or blank (static AOI)
  * A value of “1” will activate the AOI
  * A value of “0” will deactivate the AOI
* *Points*
  * Allowed values are a series of value pairs, X and Y coordinates - either as integers or floats (numeric values with decimals indicated by a “.”).
  * X and Y values are separated by “;” and pairs using “;;”
  * Coordinates that make up an AOI shape (polygon)
  * Minimum of 3 points must be defined
* *Translation*
  * Allowed values are value pairs, X and Y offsets - either as integers or floats (numeric values with decimals indicated by a “.”)
  * X and Y values are separated by “;”
  * Translation effectively means offsetting the shape with the provided coordinate values
* *Scale*
  * Allowed values are value pairs, width and height (AOI) scaling factors - either as integers or floats (numeric values with decimals indicated by a “.”)
  * Width and height values are separated by “;”
* *Rotation*
  * Allowed values are: Text input
  * Values are provided in Degrees - either as integers or floats (numeric values with decimals indicated by a “.”)
* *Interpolate*
  * Allowed values are: Text input (dynamic AOI) or blank (static AOI)
  * A value of “1” will enable interpolation to the next key-frame
  * A value of “0” will disable interpolation to the next key-frame

Download sample [static AOI](https://files.imotions.com/download/static_aoi_import.csv) or [dynamic AOI](https://files.imotions.com/download/moving_aoi_import.csv) file.

## AOI Metrics

* The AOI Metrics Menu allows initial calculation of AOI metrics and a list of available metrics. Information about each metric is available by hovering over a metric, then the "?" icon that appears.
* Clicking the icon to the left of each AOI metric will control whether it appears in the AOI Metrics Panel.

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

### Calculate and View AOI Metrics

* The 'AOI Metrics' menu initially contains a 'Calculate' button. Clicking 'Calculate' will begin processing metrics for the AOI in your analysis.
* If AOI metrics have been calculated, a list of available metrics is displayed, along with display settings and information about each metric.

### Export AOI Metrics

* AOI metrics can be copied directly from the 'AOI metrics' panel, by clicking the '...' icon then 'Copy table as CSV'.
* AOI Metrics can be exported in Sensor Data and Analysis CSV files
* To include AOI analysis in Sensor Data:
  * Use the Sensor Data Export window and enable File Info options for AOIs.
  * These options include indicators for AOI dwells in the resulting CSV file.
* The Analysis Export window includes a section for AOI Metrics. This is used to export AOI metrics CSV files for all AOIs, intervals, stimuli, and respondents in the analysis. This creates two CSV files.
  * Aggregate metrics
  * Respondent metrics

![](https://286068319-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FNLNBWkNpljDaAj5rQtNa%2Fuploads%2Fgit-blob-57c00dd120e2b0b5a4eb7f1bf5d767abb9ba9850%2F8ea3c5cb9f_image-1727291656791.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/analysis/eye-tracking/areas-of-interest/how-to-create-aois.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.
