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 Nov 13, 2024
1 parent 4c7e772 commit 1baec26
Show file tree
Hide file tree
Showing 3 changed files with 57 additions and 227 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -16,13 +16,16 @@ public enum DetectAreasMode extends Enum<DetectAreasMode>

| Field | Description |
| --- | --- |
| [COMBINE](#COMBINE) | Detects paragraphs with text and then uses other NN model to detect areas inside of paragraphs. |
| [CURVED_TEXT](#CURVED-TEXT) | Detects lines and recognizes text on curved images. |
| [DOCUMENT](#DOCUMENT) | Detects paragraphs uses NN model for documents. |
| [COMBINE](#COMBINE) | Detects paragraphs with text and then uses another NN model to detect areas inside paragraphs. |
| [CURVED_TEXT](#CURVED-TEXT) | Automatically straightens curved lines of text in the image, improving recognition accuracy and allowing more text to be recovered and extracted. |
| [DOCUMENT](#DOCUMENT) | Detects paragraphs using NN model for documents. |
| [LEAN](#LEAN) | Prioritizes speed and reduces resource consumption by omitting support for complex layouts. |
| [MULTICOLUMN](#MULTICOLUMN) | Detects large blocks of text formatted in columns. |
| [NONE](#NONE) | Doesn't detect paragraphs. |
| [PHOTO](#PHOTO) | Detects paragraphs uses NN model for photos. |
| [TABLE](#TABLE) | Detects cells with text. |
| [TEXT_IN_WILD](#TEXT-IN-WILD) | A super-powerful neural network specialized in extracting words from low-quality images such as street photos, license plates, passport photos, meter photos, and photos with noisy backgrounds. |
| [PHOTO](#PHOTO) | Detects paragraphs using NN model for photos. |
| [TABLE](#TABLE) | Detects tabular structures in the image and extracts text from individual cells. |
| [TEXT_IN_WILD](#TEXT-IN-WILD) | A specialized neural network for extracting words from low-quality images such as street photos, license plates, passport photos, meter photos, and photos with noisy backgrounds. |
| [UNIVERSAL](#UNIVERSAL) | Detects all blocks of text in the image, including sparse and irregular text on photos. |
## Methods


Expand All @@ -32,23 +35,39 @@ public static final DetectAreasMode COMBINE
```


Detects paragraphs with text and then uses other NN model to detect areas inside of paragraphs. Better for images with complex structure.
Detects paragraphs with text and then uses another NN model to detect areas inside paragraphs. Better for images with a complex structure.

### CURVED_TEXT {#CURVED-TEXT}
```
public static final DetectAreasMode CURVED_TEXT
```


Detects lines and recognizes text on curved images. Preferred mode for photos of book and magazine pages.
Automatically straightens curved lines of text in the image, improving recognition accuracy and allowing more text to be recovered and extracted. Requires significant processing power and RAM.

### DOCUMENT {#DOCUMENT}
```
public static final DetectAreasMode DOCUMENT
```


Detects paragraphs uses NN model for documents. Better for multicolumn document, document with pictures or with other not text objects.
Detects paragraphs using NN model for documents. Better for multicolumn documents or documents with pictures or non-text objects.

### LEAN {#LEAN}
```
public static final DetectAreasMode LEAN
```


Prioritizes speed and reduces resource consumption by omitting support for complex layouts. Suitable only for simple images with a few lines of text without illustrations or formatting.

### MULTICOLUMN {#MULTICOLUMN}
```
public static final DetectAreasMode MULTICOLUMN
```


Detects large blocks of text formatted in columns. Best choice for multi-column layouts such as book pages, articles, or contracts.

### NONE {#NONE}
```
Expand All @@ -64,22 +83,28 @@ public static final DetectAreasMode PHOTO
```


Detects paragraphs uses NN model for photos. Better for image with a lot of pictures and other not text objects.
Detects paragraphs using NN model for photos. Better for images with a lot of pictures and non-text objects.

### TABLE {#TABLE}
```
public static final DetectAreasMode TABLE
```


Detects cells with text. Preferable mode for images with table structure.
Detects tabular structures in the image and extracts text from individual cells. Recommended for scanned spreadsheets, reports, and other table-based documents.

### TEXT_IN_WILD {#TEXT-IN-WILD}
```
public static final DetectAreasMode TEXT_IN_WILD
```


A super-powerful neural network specialized in extracting words from low-quality images such as street photos, license plates, passport photos, meter photos, and photos with noisy backgrounds.
A specialized neural network for extracting words from low-quality images such as street photos, license plates, passport photos, meter photos, and photos with noisy backgrounds.

### UNIVERSAL {#UNIVERSAL}
```
public static final DetectAreasMode UNIVERSAL
```


Detects all blocks of text in the image, including sparse and irregular text on photos. A versatile option for most images, except for tables and multi-column layouts.
Original file line number Diff line number Diff line change
Expand Up @@ -72,6 +72,7 @@ public enum Language extends Enum<Language>
| [Ilo](#Ilo) | Ilocano alphabet |
| [Ind](#Ind) | Indonesian alphabet |
| [Ita](#Ita) | Italian alphabet |
| [Jpn](#Jpn) | Japanese alphabet |
| [Kaz](#Kaz) | Kazakh alphabet |
| [Kbd](#Kbd) | Kabardian alphabet |
| [Kfy](#Kfy) | Kumauni alphabet |
Expand All @@ -81,6 +82,7 @@ public enum Language extends Enum<Language>
| [Knc](#Knc) | Kanuri alphabet |
| [Knn](#Knn) | Konkani alphabet |
| [Kon](#Kon) | Kikongo alphabet |
| [Kor](#Kor) | Korean alphabet |
| [Latin](#Latin) | Latin alphabet |
| [Lav](#Lav) | Latvian alphabet |
| [Lit](#Lit) | Lithuanian alphabet |
Expand Down Expand Up @@ -161,7 +163,6 @@ public enum Language extends Enum<Language>
| [Yor](#Yor) | Yoruba alphabet |
| [Yue](#Yue) | Cantonese alphabet |
| [Zul](#Zul) | Zulu alphabet |

### Afr {#Afr}
```
public static final Language Afr
Expand Down Expand Up @@ -610,6 +611,14 @@ public static final Language Ita

Italian alphabet

### Jpn {#Jpn}
```
public static final Language Jpn
```


Japanese alphabet

### Kaz {#Kaz}
```
public static final Language Kaz
Expand Down Expand Up @@ -682,6 +691,14 @@ public static final Language Kon

Kikongo alphabet

### Kor {#Kor}
```
public static final Language Kor
```


Korean alphabet

### Latin {#Latin}
```
public static final Language Latin
Expand Down Expand Up @@ -1320,5 +1337,4 @@ public static final Language Zul
```


Zulu alphabet

Zulu alphabet
Original file line number Diff line number Diff line change
Expand Up @@ -25,27 +25,8 @@ Specify the balance between file size and image quality of saved PDFs.
| [HIGH_QUALITY](#HIGH-QUALITY) | Smaller PDF file size at the expense of slight image downsampling. |
| [MAXIMUM_QUALITY](#MAXIMUM-QUALITY) | Optimize file size while preserving the highest image quality. |
| [NONE](#NONE) | Do not optimize PDF size. |
## Methods

| Method | Description |
| --- | --- |
| [<T>valueOf(Class<T> arg0, String arg1)](#-T-valueOf-java.lang.Class-T--java.lang.String) | |
| [compareTo(E arg0)](#compareTo-E) | |
| [equals(Object arg0)](#equals-java.lang.Object) | |
| [getClass()](#getClass) | |
| [getDeclaringClass()](#getDeclaringClass) | |
| [getValue()](#getValue) | |
| [hashCode()](#hashCode) | |
| [name()](#name) | |
| [notify()](#notify) | |
| [notifyAll()](#notifyAll) | |
| [ordinal()](#ordinal) | |
| [toString()](#toString) | |
| [valueOf(String name)](#valueOf-java.lang.String) | |
| [values()](#values) | |
| [wait()](#wait) | |
| [wait(long arg0)](#wait-long) | |
| [wait(long arg0, int arg1)](#wait-long-int) | |

### AGGRESSIVE {#AGGRESSIVE}
```
public static final PdfOptimizationMode AGGRESSIVE
Expand Down Expand Up @@ -86,195 +67,3 @@ public static final PdfOptimizationMode NONE

Do not optimize PDF size.

### <T>valueOf(Class<T> arg0, String arg1) {#-T-valueOf-java.lang.Class-T--java.lang.String}
```
public static T <T>valueOf(Class<T> arg0, String arg1)
```




**Parameters:**
| Parameter | Type | Description |
| --- | --- | --- |
| arg0 | java.lang.Class<T> | |
| arg1 | java.lang.String | |

**Returns:**
T
### compareTo(E arg0) {#compareTo-E}
```
public final int compareTo(E arg0)
```




**Parameters:**
| Parameter | Type | Description |
| --- | --- | --- |
| arg0 | E | |

**Returns:**
int
### equals(Object arg0) {#equals-java.lang.Object}
```
public final boolean equals(Object arg0)
```




**Parameters:**
| Parameter | Type | Description |
| --- | --- | --- |
| arg0 | java.lang.Object | |

**Returns:**
boolean
### getClass() {#getClass}
```
public final native Class<?> getClass()
```




**Returns:**
java.lang.Class<?>
### getDeclaringClass() {#getDeclaringClass}
```
public final Class<E> getDeclaringClass()
```




**Returns:**
java.lang.Class<E>
### getValue() {#getValue}
```
public int getValue()
```




**Returns:**
int
### hashCode() {#hashCode}
```
public final int hashCode()
```




**Returns:**
int
### name() {#name}
```
public final String name()
```




**Returns:**
java.lang.String
### notify() {#notify}
```
public final native void notify()
```




### notifyAll() {#notifyAll}
```
public final native void notifyAll()
```




### ordinal() {#ordinal}
```
public final int ordinal()
```




**Returns:**
int
### toString() {#toString}
```
public String toString()
```




**Returns:**
java.lang.String
### valueOf(String name) {#valueOf-java.lang.String}
```
public static PdfOptimizationMode valueOf(String name)
```




**Parameters:**
| Parameter | Type | Description |
| --- | --- | --- |
| name | java.lang.String | |

**Returns:**
[PdfOptimizationMode](../../com.aspose.ocr/pdfoptimizationmode/)
### values() {#values}
```
public static PdfOptimizationMode[] values()
```




**Returns:**
com.aspose.ocr.PdfOptimizationMode[]
### wait() {#wait}
```
public final void wait()
```




### wait(long arg0) {#wait-long}
```
public final native void wait(long arg0)
```




**Parameters:**
| Parameter | Type | Description |
| --- | --- | --- |
| arg0 | long | |

### wait(long arg0, int arg1) {#wait-long-int}
```
public final void wait(long arg0, int arg1)
```




**Parameters:**
| Parameter | Type | Description |
| --- | --- | --- |
| arg0 | long | |
| arg1 | int | |

0 comments on commit 1baec26

Please sign in to comment.