HUSKYLENS 2 Object Tracking Function Description

The article offers a detailed explanation of the HUSKYLENS 2 object tracking function, including steps to track objects, parameter adjustments, and features for exporting and importing models, ensuring users can efficiently learn and manage target objects.

1.Introduction to Object Tracking

This function enables learning and tracking of a specified object, with a maximum limit of one trackable object at a time.

Interface Diagram

2.Usage Instructions for Object Tracking

In this section, we will learn how to use Huskylens 2 to track a specified object.

2.1 Select the Object Tracking Function

Power on HUSKYLENS 2. After successful startup, use the touchscreen to navigate to the "Object Tracking" function.

Interface Diagram

2.2 Learn the Object and Observe Tracking Effect

Learn Target Object: Align the camera with the object to be tracked, touch and drag the screen to frame the object according to the on-screen text prompt. After framing, release the touchscreen to complete learning.

Interface Diagram

Identify Target Object: When the learned target object is detected, the screen will frame it with a colored bounding box and display the object's name, ID number, and confidence level above it, such as "Obj:ID1 66%". The name defaults to "Obj" (for name customization, please refer to "Parameter Settings"); "ID1" represents the first target object learned; "76%" indicates a confidence level of 66%, which refers to the model's "certainty" in its prediction result. "ID1 76%" means that under the object tracking function, the model assesses this object as having a 66% chance of being the first learned target object.

Interface Diagram

To learn additional target objects, repeat the same process.

Interface Diagram

Multiple Angles of Recognizable Objects: A learned target object can still be recognized and tracked when it appears in front of HUSKYLENS 2 in different "poses".

Interface Diagram

Adaptable to Distance and Angle Changes: By moving HUSKYLENS 2 closer to or farther from the learned target object, or by changing the angle at which HUSKYLENS 2 views the object, the target can still be tracked.

Track Only One Object at a Time: If two learned objects appear simultaneously in the frame, only the one that first appears in the frame can be tracked.

3.Object Tracking Parameter Settings

The factory default parameters of HUSKYLENS 2 already meet the needs of basic functionality. If more refined features are required, each parameter can be adjusted manually. The following parameters are all based on the "Object Tracking" function; therefore, first ensure you have entered the "Object Tracking" mode, as shown in the figure.

The factory default parameters of HUSKYLENS 2 meet the requirements for basic functionality. For more refined functionality, individual parameters can be manually adjusted. The following parameters are all based on the "Object Tracking" function, so first ensure you have entered the "Object Tracking" function, as shown in the figure.

To select the parameter to modify, slide left or right on the parameter labels at the bottom of the screen.

Interface Diagram

3.1 Forgetting IDs

To forget all previously learned objects: Step 1, tap "Forget ID" on the screen; Step 2: A pop-up window "Forget All IDs" will appear, tap "Confirm".

Interface Diagram

At this point, aim HUSKYLENS 2 at the forgotten object. If HUSKYLENS 2 does not frame this target object, it indicates that "forgetting" is completed.

Interface Diagram

3.2 Threshold

Threshold controls the sensitivity of object recognition: A lower threshold makes the "determine if recognized object" standard more lenient (likely to mistake unlearned objects for learned ones but rarely misses recognized objects); a higher threshold makes the standard stricter (less likely to misclassify but may miss learned objects).

Setup steps: Tap "Threshold", and a parameter adjustment slider will appear above it. Sliding left decreases the value, sliding right increases it, as shown in the figure.

Interface Diagram

3.3 Setting Names

This parameter allows you to set names for previously learned objects, in both Chinese and English.

Setting Steps: Tap "Set Name", slide the number in the top-left corner up/down to select which ID to name; tap the on-screen keyboard to input a name (as shown in the left image); after completion, tap the checkmark (√) in the bottom-right corner to save. A green checkmark will appear in the top-right corner once saved successfully.

Interface Diagram

3.4 Display Name

This parameter controls whether the name of a learned object is displayed when it is recognized, with the default being "display".

Setting Steps: Tap "Display Name". If the toggle switch above it is blue, it is in the enabled state, and the object's name will be displayed upon recognition (as shown in the left image). Tap the switch; if it turns white, it is in the disabled state, and the object's name will not be displayed upon recognition (as shown in the right image).

Interface Diagram

3.5 Restore Default

This parameter resets all settings to their default states, erases previously learned IDs and names, but retains exported models (see "Exporting Models" for details).

Setting Steps: Click "Restore Default". After the "Restore Default Configuration" pop-up appears, click "Yes" to proceed.

Interface Diagram

3.6 Export Model

This parameter saves and exports the current settings, learned IDs, and custom names to the local memory of HUSKYLENS 2. It is applicable for scenarios like migrating parameters to another HUSKYLENS 2. No TF card is required for this operation.

Export Steps: Click "Export Model". When the "Save Configuration To" pop-up appears, slide the number selector up/down to choose the model number for saving (up to 5 models can be stored). Then click the "Yes" button at the bottom-left of the pop-up to save. Export will proceed automatically after confirmation.

Interface Diagram

View Exported Model: After the "Exporting" pop-up disappears, you can view the exported model file on your computer.

First, connect the HUSKYLENS 2 to your computer's USB port.

Interface Diagram

Next, you can access the memory of HUSKYLENS 2 on your computer via the path shown in the following figure. You can view two model-related files with the extensions .json and .bin. The number preceding the extension indicates the "model number" selected when saving the configuration. Both files can be copied and pasted to other locations.

Interface Diagram

3.7 Importing a Model

This parameter allows importing a model exported from HUSKYLENS 2 (referred to as "HUSKYLENS A") to another HUSKYLENS 2 (referred to as "HUSKYLENS B"). This enables HUSKYLENS B to replicate the learned objects and adjusted parameters from HUSKYLENS A without requiring reconfiguration or retraining.

Importation Steps:
Step 1: Connect HUSKYLENS A to your computer and copy the exported file to your desktop.
Step 2: Connect HUSKYLENS B to your computer and paste the file from the previous step into the specified folder on HUSKYLENS B (the path is shown in the diagram). (If the "tracker" folder is not found, first perform Step 3; once a model is imported, this folder will be automatically created, then return to Step 2.)

Interface Diagram

Step 3: First, confirm you have entered the "Object Tracking" function, then click "Import Model". Once the "Load Configuration" pop-up appears, adjust the number slider up and down to select which model number to load. This should match the model number saved in the previous step. For example, if the model file pasted into HUSKYLENS B is config1.json, select 1. Finally, click "Confirm" to import.

Interface Diagram

Step 4: Wait for the pop-up "Loading" window to disappear; the import is complete. You can then check if the parameters of HUSKYLENS B and HUSKYLENS A are consistent, as well as the objects they have learned. The recognition status of HUSKYLENS B post-import is shown below.

Interface Diagram

Was this article helpful?

TOP