This function allows tracking objects from frame to frame.

Main Tab

  1. In the Step Name textbox, enter a descriptive name for the step.
  2. Create or open an object tracking file. Click New Object Tracking File or Edit Object Tracking File to launch the Object Tracking Training Interface.

Objects Tab

  1. Select an object in the Objects to Track list box.
  2. Set Initial Position to User-Defined or a measurement defined in a previous step. Measurements are available if the script contains previous steps that produce points or angles, such as a pattern matching step.
  3. If you select User-Defined, use the X and Y form fields or click the object in the image to set the initial position of the object.
  4. Set the Initial Angle of the object.
    Note Select a different object in the Objects to Track list box to set the Initial Position and Initial Angle of the object.
  5. Select Run Once to track an object on subsequent images, or to advance frames until an object appears in the image.
  6. If the algorithm does not return the correct position of the objects, click Auto Detect Objects to locate the objects in the current image.

Settings Tab

  1. Set the Minimum Score for the object on a scale of 0 to 1,000, where 1,000 indicates a perfect match.
  2. Set Algorithm to Shape Adapted Mean Shift or Traditional Mean Shift.
    • Traditional Mean Shift tracks changes in object position, but not changes in shape, size, or rotation.
    • Shape Adapted Mean Shift tracks changes in object position, shape, size, and rotation.
  3. Set the maximum acceptable scale, rotation, and shape changes.

The results table indicates if the object was found or not found, the X and Y coordinates, the angle, and the score of an object on a scale of 0 to 1,000, where 1,000 indicates a perfect match.