Object Classification Example
HUSKYLENS 2 object classification lets you learn items once, then automatically recognize them later and return ID, name and confidence for each frame, like a smart labeler for real-world objects. In Mind+ you upload an example program, let the camera learn an object, then when it appears in view it is framed on screen and its data is shown; dedicated blocks read one-shot recognition results, check whether a specific learned object is detected, and fetch its pre-assigned ID and editable name, independent of the order you trained it.
1.Object Classification Blocks
Before You Start:
1.1 Recognize Learned Objects and Output ID/Name
Under the object classification function, after an object has been learned, HUSKYLENS 2 can recognize it when it sees it again. The following example program can be used to get the corresponding ID and name of the recognized learned object.
Click to upload the program to the device in Mind+, and wait for the upload to complete.
After HUSKYLENS 2 finishes learning the object, point the HUSKYLENS 2 camera at the learned object and observe the output results. For detailed instructions on how to learn objects, refer to Object Classification.
Output Result: As shown below, when a learned object appears in the frame, it will be framed, and its name, ID, and confidence level will be displayed. If the object's name has not been set, the default output name is: object.
1.2 Object Classification Blocks Description
| block | Description |
|---|---|
|
Under the HUSKYLENS 2 Object Classification function, used to acquire the recognition result of a learned object from one scan. |
|
Judges if a specific learned object has been detected. |
|
Gets data for a specific learned object, including ID and Name. The IDs in Object Classification are pre-assigned in the model, so the user's learning order is not related to the object ID. |
Was this article helpful?
