Skip to content

Commit

Permalink
Update file(s) "/." from "aspose-ocr/Aspose.OCR-API-References"
Browse files Browse the repository at this point in the history
  • Loading branch information
Annushka34 committed Dec 15, 2023
1 parent 3f20ca8 commit 93353b0
Show file tree
Hide file tree
Showing 27 changed files with 68 additions and 1,360 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -21,11 +21,7 @@ public class AsposeOCRPdf

| Method | Description |
| --- | --- |
| [RecognizePdf(String fullPath, DocumentRecognitionSettings settings)](#RecognizePdf-java.lang.String-com.aspose.ocr.DocumentRecognitionSettings-) | Recognize text from scanned PDF (extract images). |
| [RecognizePdf(InputStream stream, DocumentRecognitionSettings settings)](#RecognizePdf-java.io.InputStream-com.aspose.ocr.DocumentRecognitionSettings-) | Recognize text from scanned PDF (extract images). |
| [GetImages(String fullPath, int page)](#GetImages-java.lang.String-int-) | |
| [GetPagesNumber(String fullPath)](#GetPagesNumber-java.lang.String-) | |
| [GetImages(InputStream stream, int page)](#GetImages-java.io.InputStream-int-) | |
| [GetImages(int page)](#GetImages-int-) | |
| [GetPagesNumber(InputStream stream)](#GetPagesNumber-java.io.InputStream-) | |
### AsposeOCRPdf() {#AsposeOCRPdf--}
Expand All @@ -34,54 +30,6 @@ public AsposeOCRPdf()
```


### RecognizePdf(String fullPath, DocumentRecognitionSettings settings) {#RecognizePdf-java.lang.String-com.aspose.ocr.DocumentRecognitionSettings-}
```
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:**
| Parameter | Type | Description |
| --- | --- | --- |
| fullPath | java.lang.String | Full path to the image. |
| settings | [DocumentRecognitionSettings](../../com.aspose.ocr/documentrecognitionsettings) | Recognition settings. |

**Returns:**
java.util.ArrayList<com.aspose.ocr.RecognitionResult> - The ArrayList of @see \#RecognitionResult objects with image recognition results.
### RecognizePdf(InputStream stream, DocumentRecognitionSettings settings) {#RecognizePdf-java.io.InputStream-com.aspose.ocr.DocumentRecognitionSettings-}
```
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:**
| Parameter | Type | Description |
| --- | --- | --- |
| stream | java.io.InputStream | InputStream with the scanned PDF file. |
| settings | [DocumentRecognitionSettings](../../com.aspose.ocr/documentrecognitionsettings) | Recognition settings. |

**Returns:**
java.util.ArrayList<com.aspose.ocr.RecognitionResult> - The ArrayList of @see \#RecognitionResult objects with image recognition results.
### GetImages(String fullPath, int page) {#GetImages-java.lang.String-int-}
```
public ArrayList<Image> GetImages(String fullPath, int page)
```




**Parameters:**
| Parameter | Type | Description |
| --- | --- | --- |
| fullPath | java.lang.String | |
| page | int | |

**Returns:**
java.util.ArrayList<java.awt.Image>
### GetPagesNumber(String fullPath) {#GetPagesNumber-java.lang.String-}
```
public int GetPagesNumber(String fullPath)
Expand All @@ -97,22 +45,6 @@ public int GetPagesNumber(String fullPath)

**Returns:**
int
### GetImages(InputStream stream, int page) {#GetImages-java.io.InputStream-int-}
```
public ArrayList<Image> GetImages(InputStream stream, int page)
```




**Parameters:**
| Parameter | Type | Description |
| --- | --- | --- |
| stream | java.io.InputStream | |
| page | int | |

**Returns:**
java.util.ArrayList<java.awt.Image>
### GetImages(int page) {#GetImages-int-}
```
public ArrayList<Image> GetImages(int page)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,6 @@ url: /java/com.aspose.ocr/
| [CarPlateRecognitionSettings](../com.aspose.ocr/carplaterecognitionsettings) | Settings for the car number recognition Contains elements that allow customizing the recognition process |
| [Character](../com.aspose.ocr/character) | Data about detected character. |
| [CharacterRecognitionResult](../com.aspose.ocr/characterrecognitionresult) | Pages with detected characters data. |
| [DocumentRecognitionSettings](../com.aspose.ocr/documentrecognitionsettings) | Settings for the pdf recognition. |
| [IDCardRecognitionSettings](../com.aspose.ocr/idcardrecognitionsettings) | Settings for the ID Card recognition Contains elements that allow customizing the recognition process |
| [ImageData](../com.aspose.ocr/imagedata) | |
| [ImageProcessing](../com.aspose.ocr/imageprocessing) | Helper class for Aspose OCR library. |
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ title: AreasType
second_title: Aspose.OCR for Java API Reference
description: Determines the type of regions detected by the model.
type: docs
weight: 29
weight: 28
url: /java/com.aspose.ocr/areastype/
---

Expand Down
Loading

0 comments on commit 93353b0

Please sign in to comment.