> 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/automated-aoi-recommendations.md).

# Automated AOI Recommendations

Get best practices for automated AOIs, which use computer vision to track real-world objects in recordings, from setting input frames to verifying results.

*This article provides information and recommendations for using Automated AOIs for eye tracking analysis in iMotions.*

## Overview of Automated AOI Processing

* Automated AOI processing uses **computer vision to recognize** and **track the object** indicated by users in the [iMotions AOI window](https://help.imotions.com/lab/analysis/eye-tracking/areas-of-interest/areas-of-interest-aois.md) (Stimulus Panel).
  * Processing is designed to **recognize ‘real-world’ objects** and **distinguish them from background environments**.
  * Processing **tracks objects that move, rotate, or get closer/further**.
  * Processing defines AOI onsets and offsets when objects are occluded or not present.
  * Automated AOI processing defines AOIs that adjust with object location and size.
  * Automated AOIs can be made with Rectangular, Elliptical, or Polygonal AOI shapes.
* Automated AOI processing is designed for real-world objects and environments - virtual objects, spontaneously appearing objects, or other content that would not occur in real-world environments/recordings.

  * Automated AOI processing is designed for 3D objects. We recommend [Gaze Map](https://help.imotions.com/lab/analysis/eye-tracking/gaze-mapping/gaze-mapping.md) processing for 2D objects, especially those appearing in website stimulus recordings.
  * [Manual AOIs](https://help.imotions.com/lab/analysis/eye-tracking/areas-of-interest/how-to-create-aois.md#creating-manual-aois) can be created for objects not recognized by Automatic AOI process.

  #### Verifying Automated AOIs

  **Automated AOIs must be verified after processing (before subsequent analysis).**
* Automated AOIs can be verified and adjusted in the iMotions AOI window by playing back/scrolling through the recording and visually-inspecting the Automated AOIs.
* Automated AOIs are reliable when the object is easily and consistently recognized, but should be verified for:
  * Rapid object movement
  * Significant changes in visual appearance (e.g. lighting, object shape, object occlusion, environmental factors)
  * AOI onsets and offsets
* We provide recommendations for optimizing Automated AOI processing to expedite verification (below).

## Recommendations and Best Practices

### General Recommendations

* Automated AOI processing relies on the user-defined **Input Frames**, where points are selected to define the object(s) associated with your AOIs.
  * Input frames are time points in your stimulus video (black markers in the Replay timeline), where objects are defined.
  * **Object Points** can be added (left-click) until the object is clearly indicated (by the highlighted/orange region in the AOI Window - Stimulus Panel).
  * **Non-Object Points** can also be added (Ctrl+ left-click) to indicate background regions that are not part of the object/AOI.
  * Ideally, object definition involves one Input Frame/Object Point - although additional inputs can optimize analyses.
  * Objects are recognized as one whole object and are not designed for tracking parts of objects.
* Automated AOI processing is optimized for objects with distinct features that contrast with the background environment.
  * Ideally, objects have clear **object-background contrast** and separation.
  * Object appearance and object-background contrast should be as consistent as possible throughout the stimulus.
  * Other objects, with similar appearance, may be mistakenly recognized and tracked as the target object (especially when they are close together or overlap).
* Automated AOI processing defines AOI onsets/offset corresponding with recognition of the object (when present and visible).
* Video quality and the appearance of

### Standard Use Cases

Dynamic Stimulus Recordings (Eye Tracking Glasses, VR, or Screen Recordings)

* Tracking cars or pedestrians for a driving study
* Tracking objects taken from a store shelf for a store design study
* Tracking buttons or other components in human-machine interface for a UX study
* Tracking a sculpture that someone is walking around

Static Video Stimulus

* Tracking objects in videos like actors, products, animals, etc.
* [Stimulus AOIs](https://help.imotions.com/lab/analysis/eye-tracking/areas-of-interest/how-to-create-aois.md#applying-aois-across-respondent-recordings) can be applied across respondents (for Automatic and Manual AOIs)
* [Gaze Map](https://help.imotions.com/lab/analysis/eye-tracking/gaze-mapping/gaze-mapping.md) processing is recommended for overlays or other objects/content inserted into the video, especially for 2D objects/content.

### Optimizing Automated AOI Processing

Automated AOI processing can be optimized and adjusted when Automated AOIs are not created for an object.

* Input Frames/Points are the primary factor for accurate Automated AOI processing.
* The object and background should be clear and distinguishable - well-lit, in-focus, with high video quality/resolution (sufficient for human, visual recognition).
* Additional Input Frames/Points should be created when there are significant changes to object appearance. We recommend defining separate time ranges and Automated AOI processing when object appearance changes significantly.

To reduce processing demands, we recommend:

* Limiting Automated AOI processing to time periods when the object is present.
* Reducing the number of frames analyzed where AOIs remain reliable and accurate.
* Test processing on brief time periods where further adjustment/optimization is needed.


---

# 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/automated-aoi-recommendations.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.
