Class KtpParam

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

public class KtpParam extends Object
The `KtpParam` class represents parameters for processing a KTP.
  • Constructor Details

    • KtpParam

      public KtpParam(String imagePath)
      Constructs a `KtpParam` instance with the specified image path and default qualities detector setting.
      Parameters:
      imagePath - The path to the KTP image.
    • KtpParam

      public KtpParam(String imagePath, Boolean qualitiesDetector)
      Constructs a `KtpParam` instance with the specified image path and qualities detector setting.
      Parameters:
      imagePath - The path to the KTP image.
      qualitiesDetector - A boolean flag indicating whether qualities detection should be enabled.
  • Method Details

    • getQualitiesDetector

      public Boolean getQualitiesDetector()
      Gets the qualities detector setting.
      Returns:
      The qualities detector setting, `true` if enabled, `false` otherwise.
    • getImagePath

      public String getImagePath()
      Gets the path to the KTP image.
      Returns:
      The path to the KTP image.
    • toString

      public String toString()
      Returns a string representation of the `KtpParam` object.
      Overrides:
      toString in class Object
      Returns:
      A string containing information about the image path and qualities detector setting.