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.
Hardware has restrictions on the total number of streams. For details, see aclrtCreateStream.
aclError aclfvRepoAdd(aclfvSearchType type, aclfvFeatureInfo *featureInfo)
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. |
0 on success; else, failure.