public interface ComparesImages extends ExecutesMethod
Modifier and Type | Method and Description |
---|---|
default OccurrenceMatchingResult |
findImageOccurrence(byte[] fullImage,
byte[] partialImage)
Performs images matching by template to find possible occurrence of the partial image
in the full image with default options.
|
default OccurrenceMatchingResult |
findImageOccurrence(byte[] fullImage,
byte[] partialImage,
OccurrenceMatchingOptions options)
Performs images matching by template to find possible occurrence of the partial image
in the full image.
|
default OccurrenceMatchingResult |
findImageOccurrence(java.io.File fullImage,
java.io.File partialImage)
Performs images matching by template to find possible occurrence of the partial image
in the full image with default options.
|
default OccurrenceMatchingResult |
findImageOccurrence(java.io.File fullImage,
java.io.File partialImage,
OccurrenceMatchingOptions options)
Performs images matching by template to find possible occurrence of the partial image
in the full image.
|
default SimilarityMatchingResult |
getImagesSimilarity(byte[] base64image1,
byte[] base64Image2)
Performs images matching to calculate the similarity score between them
with default options.
|
default SimilarityMatchingResult |
getImagesSimilarity(byte[] base64image1,
byte[] base64Image2,
SimilarityMatchingOptions options)
Performs images matching to calculate the similarity score between them.
|
default SimilarityMatchingResult |
getImagesSimilarity(java.io.File image1,
java.io.File image2)
Performs images matching to calculate the similarity score between them
with default options.
|
default SimilarityMatchingResult |
getImagesSimilarity(java.io.File image1,
java.io.File image2,
SimilarityMatchingOptions options)
Performs images matching to calculate the similarity score between them.
|
default FeaturesMatchingResult |
matchImagesFeatures(byte[] base64image1,
byte[] base64Image2)
Performs images matching by features with default options.
|
default FeaturesMatchingResult |
matchImagesFeatures(byte[] base64image1,
byte[] base64Image2,
FeaturesMatchingOptions options)
Performs images matching by features.
|
default FeaturesMatchingResult |
matchImagesFeatures(java.io.File image1,
java.io.File image2)
Performs images matching by features with default options.
|
default FeaturesMatchingResult |
matchImagesFeatures(java.io.File image1,
java.io.File image2,
FeaturesMatchingOptions options)
Performs images matching by features.
|
execute, execute
default FeaturesMatchingResult matchImagesFeatures(byte[] base64image1, byte[] base64Image2)
base64image1
- base64-encoded representation of the first imagebase64Image2
- base64-encoded representation of the second imagedefault FeaturesMatchingResult matchImagesFeatures(byte[] base64image1, byte[] base64Image2, @Nullable FeaturesMatchingOptions options)
base64image1
- base64-encoded representation of the first imagebase64Image2
- base64-encoded representation of the second imageoptions
- comparison optionsdefault FeaturesMatchingResult matchImagesFeatures(java.io.File image1, java.io.File image2) throws java.io.IOException
image1
- The location of the first imageimage2
- The location of the second imagejava.io.IOException
default FeaturesMatchingResult matchImagesFeatures(java.io.File image1, java.io.File image2, @Nullable FeaturesMatchingOptions options) throws java.io.IOException
image1
- The location of the first imageimage2
- The location of the second imageoptions
- comparison optionsjava.io.IOException
default OccurrenceMatchingResult findImageOccurrence(byte[] fullImage, byte[] partialImage)
fullImage
- base64-encoded representation of the full imagepartialImage
- base64-encoded representation of the partial imagedefault OccurrenceMatchingResult findImageOccurrence(byte[] fullImage, byte[] partialImage, @Nullable OccurrenceMatchingOptions options)
fullImage
- base64-encoded representation of the full imagepartialImage
- base64-encoded representation of the partial imageoptions
- comparison optionsdefault OccurrenceMatchingResult findImageOccurrence(java.io.File fullImage, java.io.File partialImage) throws java.io.IOException
fullImage
- The location of the full imagepartialImage
- The location of the partial imagejava.io.IOException
default OccurrenceMatchingResult findImageOccurrence(java.io.File fullImage, java.io.File partialImage, @Nullable OccurrenceMatchingOptions options) throws java.io.IOException
fullImage
- The location of the full imagepartialImage
- The location of the partial imageoptions
- comparison optionsjava.io.IOException
default SimilarityMatchingResult getImagesSimilarity(byte[] base64image1, byte[] base64Image2)
findImageOccurrence(byte[], byte[], OccurrenceMatchingOptions)
,
but it is mandatory that both images are of equal size.base64image1
- base64-encoded representation of the first imagebase64Image2
- base64-encoded representation of the second imagedefault SimilarityMatchingResult getImagesSimilarity(byte[] base64image1, byte[] base64Image2, @Nullable SimilarityMatchingOptions options)
findImageOccurrence(byte[], byte[], OccurrenceMatchingOptions)
,
but it is mandatory that both images are of equal size.base64image1
- base64-encoded representation of the first imagebase64Image2
- base64-encoded representation of the second imageoptions
- comparison optionsdefault SimilarityMatchingResult getImagesSimilarity(java.io.File image1, java.io.File image2) throws java.io.IOException
findImageOccurrence(byte[], byte[], OccurrenceMatchingOptions)
,
but it is mandatory that both images are of equal size.image1
- The location of the full imageimage2
- The location of the partial imagejava.io.IOException
default SimilarityMatchingResult getImagesSimilarity(java.io.File image1, java.io.File image2, @Nullable SimilarityMatchingOptions options) throws java.io.IOException
findImageOccurrence(byte[], byte[], OccurrenceMatchingOptions)
,
but it is mandatory that both images are of equal size.image1
- The location of the full imageimage2
- The location of the partial imageoptions
- comparison optionsjava.io.IOException