Version:
interface

TextFinderInterface

A TextFinder should provide an abstraction layer to perform text searches

typescript
interface TextFinderInterface

Methods

findMatch

findMatch(matchRequest: MatchRequest<TextQuery, PROVIDER_DATA_TYPE>): Promise<MatchResult<Region>>

findMatch should provide an abstraction to search for an image needle
in another image haystack

Parameters

matchRequestMatchRequest<TextQuery, PROVIDER_DATA_TYPE>A containing needed matching data

Returns

Promise<MatchResult<Region>>

findMatches

findMatches(matchRequest: MatchRequest<TextQuery, PROVIDER_DATA_TYPE>): Promise<MatchResult<Region>[]>

findMatches should provide an abstraction to search for an image needle
in another image haystack

Parameters

matchRequestMatchRequest<TextQuery, PROVIDER_DATA_TYPE>A containing needed matching data

Returns

Promise<MatchResult<Region>[]>

Was this page helpful?