public class ImageDctHashSearchCriteria extends ImageSearchCriteria
Represents search criteria for finding images in a content. This search criteria uses DCT based perceptual image hash for calculating image similarity.
Constructor and Description |
---|
ImageDctHashSearchCriteria(InputStream stream)
Initializes a new instance of the
ImageDctHashSearchCriteria class. |
ImageDctHashSearchCriteria(String filePath)
Initializes a new instance of the
ImageDctHashSearchCriteria class. |
getMaxDifference, setMaxDifference
and, not, or
public ImageDctHashSearchCriteria(String filePath)
Initializes a new instance of the ImageDctHashSearchCriteria
class.
filePath
- The file path to load image from.public ImageDctHashSearchCriteria(InputStream stream)
Initializes a new instance of the ImageDctHashSearchCriteria
class.
stream
- The stream to load image from.Copyright © 2020. All rights reserved.