metadataSearch

format

SearchResults[] search( String path, String value ) throws Exception

description

Searches the MediaCollection for images similar to the given image, using the provided search options.

parameters

path - the full path and filename of the EDF or image file containing the source image

 

value - the text of the EDF or file you wish to retrieve

returns

an array of SearchResults objects, sorted in descending order of relevancy

throws

The metadataSearch() method throws an Exception if path does not exist, is not a file, or is not in a supported image file format. As well, it throws an Exception if any of the percentage parameters is less than 0 (zero) or greater than 100.