com.aspose.ocr.pdf

Class AsposeOCRPdf



  • public class AsposeOCRPdf
    extends Object
    • Constructor Detail

      • AsposeOCRPdf

        public AsposeOCRPdf()
    • Method Detail

      • RecognizePdf

        public ArrayList<RecognitionResult> RecognizePdf(String fullPath,
                                                         DocumentRecognitionSettings settings)
        Recognize text from scanned PDF (extract images). Recognizes pdf file with the ability to specify @see DocumentRecognitionSettings. Supports Scanned PDF only. Doesn't supports Searchable PDF.
        Parameters:
        fullPath - Full path to the image.
        settings - Recognition settings.
        Returns:
        The ArrayList of @see #RecognitionResult objects with image recognition results.
      • RecognizePdf

        public ArrayList<RecognitionResult> RecognizePdf(InputStream stream,
                                                         DocumentRecognitionSettings settings)
        Recognize text from scanned PDF (extract images). Recognizes pdf file with the ability to specify @see DocumentRecognitionSettings. Supports Scanned PDF only. Doesn't supports Searchable PDF.
        Parameters:
        stream - InputStream with the scanned PDF file.
        settings - Recognition settings.
        Returns:
        The ArrayList of @see #RecognitionResult objects with image recognition results.