ImageSearchOptions class

ImageSearchOptions class

Provides options for reverse image search operation.

The ImageSearchOptions type exposes the following members:

Constructors

Constructor Description
init Initializes a new instance of the ImageSearchOptions class.

Properties

Property Description
hash_differences The maximum number of mismatched bits in the image hash.
max_result_count The maximum number of found images for an image reverse search request.
search_document_filter The search document filter.

Example

from groupdocs.search.options import ImageSearchOptions
from groupdocs.search.options import SearchDocumentFilter

options = ImageSearchOptions()
options.hash_differences = 10
options.max_result_count = 100
options.search_document_filter = SearchDocumentFilter.create_file_extension(
    ".zip", ".png", ".jpg"
)

See Also