Use Object Tracking Setup
- 更新日2025-09-11
- 2分で読める
This function allows tracking objects from frame to frame.
Main Tab
- In the Step Name textbox, enter a descriptive name for the step.
- 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
- Select an object in the Objects to Track list box.
- 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.
- 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.
- 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.
- Select Run Once
to track an object on subsequent images, or to advance
frames until an object appears in the image. - 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
- Set the Minimum Score for the object on a scale of 0 to 1,000, where 1,000 indicates a perfect match.
- 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.
- 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.