com.groupdocs.search.options

Class OcrIndexingOptions



  • public class OcrIndexingOptions
    extends Object

    Provides options for OCR processing and indexing recognized text.

    • Method Detail

      • getEnabledForSeparateImages

        public final boolean getEnabledForSeparateImages()

        Gets a value indicating whether to recognize text in separate image files. The default value is false.

        Returns:
        A value indicating whether to recognize text in separate image files.
      • setEnabledForSeparateImages

        public final void setEnabledForSeparateImages(boolean value)

        Sets a value indicating whether to recognize text in separate image files. The default value is false.

        Parameters:
        value - A value indicating whether to recognize text in separate image files.
      • getEnabledForEmbeddedImages

        public final boolean getEnabledForEmbeddedImages()

        Gets a value indicating whether to recognize text in embedded images. The default value is false.

        Returns:
        A value indicating whether to recognize text in embedded images.
      • setEnabledForEmbeddedImages

        public final void setEnabledForEmbeddedImages(boolean value)

        Sets a value indicating whether to recognize text in embedded images. The default value is false.

        Parameters:
        value - A value indicating whether to recognize text in embedded images.
      • getOcrConnector

        public final IOcrConnector getOcrConnector()

        Gets an OCR connector that is used for OCR processing. The default value is null, which means no OCR is used.

        Returns:
        An OCR connector that is used for OCR processing.
      • setOcrConnector

        public final void setOcrConnector(IOcrConnector value)

        Sets an OCR connector that is used for OCR processing. The default value is null, which means no OCR is used.

        Parameters:
        value - An OCR connector that is used for OCR processing.