Class FeaturesMatchingResult

    • Constructor Summary

      Constructors 
      Constructor Description
      FeaturesMatchingResult​(java.util.Map<java.lang.String,​java.lang.Object> input)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      int getCount()
      Returns a count of matched edges on both images.
      java.util.List<org.openqa.selenium.Point> getPoints1()
      Returns a list of matching points on the first image.
      java.util.List<org.openqa.selenium.Point> getPoints2()
      Returns a list of matching points on the second image.
      org.openqa.selenium.Rectangle getRect1()
      Returns a rect for the `points1` list.
      org.openqa.selenium.Rectangle getRect2()
      Returns a rect for the `points2` list.
      int getTotalCount()
      Returns a count of matched edges on both images.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • FeaturesMatchingResult

        public FeaturesMatchingResult​(java.util.Map<java.lang.String,​java.lang.Object> input)
    • Method Detail

      • getCount

        public int getCount()
        Returns a count of matched edges on both images.
        Returns:
        The count of matched edges on both images. The more matching edges there are no both images the more similar they are.
      • getTotalCount

        public int getTotalCount()
        Returns a count of matched edges on both images.
        Returns:
        The total count of matched edges on both images. It is equal to `count` if `goodMatchesFactor` does not limit the matches, otherwise it contains the total count of matches before `goodMatchesFactor` is applied.
      • getPoints1

        public java.util.List<org.openqa.selenium.Point> getPoints1()
        Returns a list of matching points on the first image.
        Returns:
        The list of matching points on the first image.
      • getRect1

        public org.openqa.selenium.Rectangle getRect1()
        Returns a rect for the `points1` list.
        Returns:
        The bounding rect for the `points1` list or a zero rect if not enough matching points were found.
      • getPoints2

        public java.util.List<org.openqa.selenium.Point> getPoints2()
        Returns a list of matching points on the second image.
        Returns:
        The list of matching points on the second image.
      • getRect2

        public org.openqa.selenium.Rectangle getRect2()
        Returns a rect for the `points2` list.
        Returns:
        The bounding rect for the `points2` list or a zero rect if not enough matching points were found.