3b. Setup: Define Tracking Area


Overview: Defining Tracking Area

For some input videos, users are only interested in tracking a region of the video. Identifying regions of interest during setup allows ABCTracker to ignore objects outside of that region, speeding up tracking and reducing correction time.


Examples of Tracking Regions

GREEN indicates regions to track, and RED indicates regions to ignore.

  • Figure 1: Use when requesting that ABCTracker should analyze the entire video clip

  • Figure 2: Example of requesting only certain regions to track (i.e., regions in ant nests)

  • Figure 3: Example of requesting regions to not track (i.e., regions outside of nests)

One Tracking Region Per Video

Note that ABCTracker only allows defining one tracking region (also called a “Binary Mask”) per video. To define different regions (such as both Figure 2 and Figure 3 above), separate processes would need to be created.


Defining the Tracking Region

Step 1: Would you Like to Track Everything?

  • To track the entire video, accept the defaults (screen is 100% green, and identifies “Region to track: 100.0%”) by pressing “Next”

  • No further steps are necessary if the defaults region is accepted

Step 2: Determine Starting Template (“Track 0%” or “Track 100%”)

Before defining regions, it is recommended to decide on the starting template. There are two options:

  • “Track everything” - indicated by a 100% GREEN screen, this template means that any area not explicitly marked red will be tracked

    • How to enable: This is the default screen when entering the “Define Tracking Area,” so no steps need to be taken

  • “Track nothing” - indicated by a 100% RED screen, this means that all areas should be ignored unless explicitly added by creating a green region

    • How to enable: Click the “Exclude All” option underneath the thumbnail

  • Figure 1: Example of “Track everything” starting template

  • Figure 2: Example of “Track nothing” starting template

Step 3: Define Regions To Track (or Not To Track)

After creating the starting template, define regions to track or not to track:

  1. Click “Add Region” or “Remove Region,” depending on whether you would like to turn a region green (to track) or red (not to track)

    1. After clicking “Add Region” or “Remove Region,” note that all buttons become disabled except for cancel. The add/remove operation can be cancelled at any time.

  2. Click on a corner of the region that should be added or removed. A red dot will appear in that location.

  3. Continue to click around the border of the region to create. A blue dot will be created with each click.

  4. After the polygonal region has been defined using blue circles, click on the red circle to close the polygon and finalize the region. After closing the region, the internal polygonal area will turn green or red (depending on whether the region was added or removed).

Step 3 Example: Defining Region to Add

  • Figure 1: Click “Add Region” or “Remove Region” (add region shown, since using “Track 0%” template)

  • Figure 2: Click on one corner or region to add/remove to begin polygon; red circle will appear

  • Figure 3: Define polygonal region by clicking at each vertex; note that a circular region can be defined with many clicks in a close region

  • Figure 4: Close polygonal region by clicking on red circle; region contained in polygon will turn green or red based on whether region was added or removed

Step 4: Click “Next” to Proceed

When the red and green regions correctly indicate the regions to track and not track, click “Next” to proceed to “Run Tracking.”


Read Next: Run Tracking