__init__ constructor

On this page

init

Initializes a new ImageColorHistogramSearchCriteria with a specified file path.

def __init__(self, file_path):
    ...
Parameter Type Description
file_path str The file path to load image from.

init

Initializes a new ImageColorHistogramSearchCriteria instance with a specified stream.

def __init__(self, stream):
    ...
Parameter Type Description
stream io.RawIOBase The stream to load image from.

See Also

On this page