com.hp.lft.sdk.ai

Class AiOCRSettings



  • public class AiOCRSettings
    extends Object
    The AI OCR settings, which can be updated during runtime using AiRunSettings.
    • Constructor Detail

      • AiOCRSettings

        public AiOCRSettings()
        Constructs a new instance of AiOCRSettings.
    • Method Detail

      • setLanguages

        public AiOCRSettings setLanguages(String[] languages)
        Sets the languages to be used by the AI OCR. Note: the order of languages defines their precedence.
        Parameters:
        languages - an array of languages to be used by the AI OCR. Use AiOCRLanguages for the supported values.
        Returns:
        this instance with the updated state (builder pattern).
      • setLanguages

        public AiOCRSettings setLanguages(String languages)
        Sets the languages to be used by the AI OCR. Note: the order of languages defines their precedence.
        Parameters:
        languages - a string containing the languages to be used by the AI OCR in comma separated format. Use AiOCRLanguages for the supported values.
        Returns:
        this instance with the updated state (builder pattern).