Home > doofinder > Client > searchImage
Client.searchImage() method
Perform a search through indexed images of a search engine.
Signature:
searchImage(query: Query | SearchImageParams, image: string): Promise<SearchResponse>;
Parameters
Parameter | Type | Description |
---|---|---|
query | Query | SearchImageParams | An instance of Query or an object with valid search parameters. |
image | string | string image in base 64. |
Returns:
Promise<SearchResponse>
A promise to be fullfilled with the response or rejected with a ClientResponseError
.