Help Center> Huawei HiLens> Developer Guide> Preprocessing Module> Constructing Image Preprocessors
Updated on 2022-02-22 GMT+08:00

Constructing Image Preprocessors

This API is used to construct and initialize a preprocessor for resize/crop operations (3559 hardware acceleration).

  • API calling

    hilens.Preprocessor()

  • Return value

    A preprocessor instance is returned.

    If the construction fails, "CreateError" is reported. You can view skill logs.