Algorithm services

更新时间:
复制 MD 格式

IoT Edge provides three algorithm services for V-series edge devices: Event Hub, Retrieval Service, and Base Library Service. This topic describes how to use and configure these services.

Prerequisites

Algorithm applications are configured. For more information, see Algorithm applications.

Event Hub

You can use the Event Hub to view all algorithm application events for a specific V-series edge device.

  1. Log on to the IoT Edge console.

  2. From the drop-down list in the navigation pane on the left, select your instance.

  3. In the navigation pane on the left, choose Node Management > Algorithm Task Management.

  4. On the Algorithm Task Management page, select your V-series edge device, and then click Event Hub in the Algorithm Services section.

  5. On the Event Hub page, search for and view algorithm task events by algorithm application type, device, start time, and end time.

    Click Details to the right of a specific event to view its details.

Retrieval Service

You can use the Retrieval Service to retrieve events related to facial recognition and vehicle license plate recognition for a specific V-series edge device.

  1. Log on to the IoT Edge console.

  2. From the drop-down list in the navigation pane on the left, select your instance.

  3. In the navigation pane on the left, choose Node Management > Algorithm Task Management.

  4. On the Algorithm Task Management page, select your V-series edge device, and then click Retrieval Service in the Algorithm Services section.

  5. On the Retrieval Service page, select a retrieval type, set one or more retrieval parameters, and then click Search.

Base Library Service

You can add a face base library to the current V-series edge device for your facial recognition algorithm applications.

  1. Log on to the IoT Edge console.

  2. From the drop-down list in the navigation pane on the left, select your instance.

  3. In the navigation pane on the left, choose Node Management > Algorithm Task Management.

  4. On the Algorithm Task Management page, select your V-series edge device, and then click Base Library Service in the Algorithm Services section.

  5. On the Base Library Management page, click Add Base Library to add an image base library for the current V-series edge device.

  6. Set the required parameters, and then click OK.

    Parameter

    Description

    Face Base Library

    Click the 上传照片-图标 icon to upload a face image. The image must be in JPG format and no larger than 1 MB. Only one image can be uploaded.

    Important

    Only upload images that contain a face. Otherwise, the base library cannot be added.

    Name

    Enter the name that corresponds to the uploaded face image. The name can contain Chinese characters, uppercase and lowercase letters, digits, underscores (_), and hyphens (-). The name can be up to 64 characters long.

    Tag

    Select whether the person in the face image is on the blacklist or whitelist.

    Remarks

    Enter remarks for the face image. The remarks can be up to 50 characters long.

    ID

    Set an ID for the face image. The ID can contain only uppercase letters and digits.

    The configured information, such as the name, tag, remarks, and ID, is displayed in the events reported by algorithm tasks such as facial recognition.