aclfvRepoAdd

Description

Adds a repository, or adds features to an existing repository. In this section, 1:N indicates the ratio of the number of search requests to the number of repositories, and N:M indicates the similarity between two repositories. This API is synchronous.

The Ascend 310 AI Processor does not support this API.

The Ascend 910 AI Processor does not support this API.

The Ascend 310P1 AI Processor does not support this API.

Restrictions

Prototype

aclError aclfvRepoAdd(aclfvSearchType type, aclfvFeatureInfo *featureInfo)

Parameters

Parameter

Input/Output

Description

type

Input

Search type.

featureInfo

Input

Pointer to the feature description.

Call aclfvCreateFeatureInfo to create data of the aclfvFeatureInfo type in advance.

Returns

0 on success; else, failure.