Help Center> Huawei HiLens> SDK Reference> Pre-processing> Constructing Image Preprocessors
Updated on 2023-06-15 GMT+08:00

Constructing Image Preprocessors

This section describes how to construct and initialize a preprocessor for resize/crop operations (3559 hardware acceleration). If the operation fails, you can view the skill log or output to locate the fault.

API Calling

static std::shared_ptr<Preprocessor> hilens::Preprocessor::Create()

Return Value

If the operation is successful, the pointer of a preprocessor is returned. Otherwise, nullptr is returned.