Help Center/ Huawei HiLens/ SDK Reference/ HiLens Framework_C++
Updated on 2023-06-15 GMT+08:00

HiLens Framework_C++

The HiLens Framework Software Development Kit (SDK) is a C++ development package running on HiLens Kit cameras. Users can use the HiLens SDKs to develop C++ skills and run them on HiLens Kit cameras.

HiLens Framework Introduction

The HiLens Framework encapsulates bottom-layer APIs to implement common management functions, enabling developers to easily develop skills and cultivate the AI ecosystems on the HiLens management console.

Figure 1 shows the layered structure of HiLens Framework. HiLens Framework encapsulates the underlying multimedia processing libraries (cameras/microphone driver module Media_mini), the image processing library (DVPP) related to D chips, and the model management library (ModelManager). Developers can also use the familiar visual processing library OpenCV. HiLens Framework provides the modules in Table 1 for developers, such as human figure detection and fatigue driving detection.

Figure 1 HiLens Framework
Table 1 Module description

No.

Module

Function

1

Input Manager

Manages the access of input data such as video and audio data.

2

Media Processor

Processes media data such as video and audio data.

3

Model Manager

Initializes models and runs inference tasks.

4

Output Manager

Manages output tasks such as streams, files, and message notifications.

5

Resource Manager

Manages paths of resources such as files, images, and models.

6

Logging System

Manages the log system.