Class FaceMatchParam

java.lang.Object
glair.vision.model.param.FaceMatchParam

public class FaceMatchParam extends Object
A class representing parameters for Face Matching.
  • Constructor Details

    • FaceMatchParam

      public FaceMatchParam(String capturedPath, String storedPath)
      Constructs a FaceMatchParam object with the specified paths for the captured and stored images.
      Parameters:
      capturedPath - The file path of the captured image.
      storedPath - The file path of the stored image for comparison.
  • Method Details

    • getCapturedPath

      public String getCapturedPath()
      Gets the file path of the captured image.
      Returns:
      The file path of the captured image.
    • getStoredPath

      public String getStoredPath()
      Gets the file path of the stored image for comparison.
      Returns:
      The file path of the stored image.
    • toString

      public String toString()
      Returns a JSON representation of the FaceMatchParam.
      Overrides:
      toString in class Object
      Returns:
      A JSON string representing the captured and stored image paths.