## AsposeOcr.DetectLanguages method

Analyzes the text on the image to determine the languages it is written in. This allows to select the most suitable recognition language and helps in further text processing tasks such as spellchecking or translation.

```csharp
public List<LanguageDetectionOutput> DetectLanguages(OcrInput images)
```

| Parameter | Type | Description |
| --- | --- | --- |
| images | OcrInput | Source images [`OcrInput`](../../ocrinput) |

### Return Value

Returns a list of the most probable languages, ranked by likelihood [`LanguageDetectionOutput`](../../languagedetectionoutput).

### See Also

* class [LanguageDetectionOutput](../../languagedetectionoutput)
* class [OcrInput](../../ocrinput)
* class [AsposeOcr](../../asposeocr)
* namespace [Aspose.OCR](../../asposeocr)
* assembly [Aspose.OCR](../../../)

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