NET_SDK_SEARCH_IMAGE_BY_IMAGE
Structure Definition
Function Description
Search image by image structure.
Member Description
| Member | Type | Remark |
|---|
| pageIndex | unsigned int | The page number of the query. |
| pageSize | unsigned int | Quantity per page. |
| similarity | unsigned int | Similarity. |
| resultCountLimit | unsigned int | Limit the number of results. |
| startTime | DD_TIME_EX | Start time. |
| endTime | DD_TIME_EX | End time. |
| searchType | unsigned int | Search type, refer to NET_SDK_SEARCH_IMAGE_BY_IMAGE_TYPE. |
| sfaceFeatures | | struct
{
unsigned int itemId; // Target ID
} sfaceFeatures;
|
| Face features, when searchType is SEARCH_IMAGE_BY_FACE_FEATURES. |
| sfaceImgs | NET_SDK_FACE_IMG_INFO_CH | Face images, when searchType is SEARCH_IMAGE_BY_FACE_FEATURE_GROUPS. |
| sfaceFeatureGroups | | struct
{
unsigned int groupsId; // Face group ID.
} sfaceFeatureGroups;
|
| Face Group |
| srecognizedFilter | | struct
{
unsigned int isContainRecognized; // Whether to include recognized ones.
unsigned int isContainNotRecognized; // Whether to include unrecognized ones.
unsigned int groupsId; // Face group ID.
} srecognizedFilter;
|
| Identify the filter. |
| sfaceImgData | | struct
{
unsigned int imgWidth; // Image width.
unsigned int imgHeight; // Image height.
unsigned int imgLen; // Image data length.
unsigned char* imgData; // Image data.
} sfaceImgData;
|
| Face image data, when searchType is SEARCH_IMAGE_BY_FACE_IMAGE_DATA. |