## DetectAreasMode enumeration

Determines the type of neural network used for areas detection.

```csharp
public enum DetectAreasMode
```

### Values

| Name | Value | Description |
| --- | --- | --- |
| LEAN | `0` | 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. |
| DOCUMENT_LAYOUT | `7` | Detects complete document layout, including text blocks, headings, columns, tables, images, charts, and formulas. Use this mode when the recognized structure must be preserved in DOCX or Markdown output. |
| MULTICOLUMN | `1` | Detects complete document layout, including multi-column text, tables, images, charts, and formulas. Kept for backward compatibility; DOCUMENT_LAYOUT is the clearer name for this mode. |
| UNIVERSAL | `2` | 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. |
| TABLE | `4` | Detects tabular structures in the image and extracts text from individual cells. Recommended for scanned spreadsheets, reports, and other table-based documents. |
| CURVED_TEXT | `5` | 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. |
| FORMULA | `6` | Detects all blocks with mathematical formulas. |

### Remarks

Used in the [`RecognitionSettings`](../recognitionsettings) to specify which type of image you want to recognize.

### See Also

* namespace [Aspose.OCR](../../aspose.ocr)
* assembly [Aspose.OCR](../../)

<!-- DO NOT EDIT: generated by xmldocmd for Aspose.OCR.dll -->
