## Recognize(string, int) {#recognize_2}

Recognizes file

```csharp
public RecognitionResult Recognize(string filePath, int recognitionThreshold = -100)
```

| Parameter | Type | Description |
| --- | --- | --- |
| filePath | String | The path of the file to recognize |
| recognitionThreshold | Int32 | (Optional) The recognition threshold in range (0..100). Only elements filled above threshold will be counted as filled. |

### Return Value

The recognition result

### See Also

* class [RecognitionResult](../../../aspose.omr.model/recognitionresult)
* class [TemplateProcessor](../../templateprocessor)
* namespace [Aspose.OMR.Api](../../templateprocessor)
* assembly [Aspose.OMR](../../../)

---

## Recognize(string[], int) {#recognize_3}

Recognize multiple files as a single multipage file

```csharp
public RecognitionResult Recognize(string[] filePaths, int recognitionThreshold = -100)
```

| Parameter | Type | Description |
| --- | --- | --- |
| filePaths | String[] | The path of the files to recognize |
| recognitionThreshold | Int32 | (Optional) The recognition threshold in range (0..100). Only elements filled above threshold will be counted as filled. |

### Return Value

The recognition result

### See Also

* class [RecognitionResult](../../../aspose.omr.model/recognitionresult)
* class [TemplateProcessor](../../templateprocessor)
* namespace [Aspose.OMR.Api](../../templateprocessor)
* assembly [Aspose.OMR](../../../)

---

## Recognize(Stream, int) {#recognize}

Recognizing file from stream

```csharp
public RecognitionResult Recognize(Stream stream, int recognitionThreshold = -100)
```

| Parameter | Type | Description |
| --- | --- | --- |
| stream | Stream | Stream of the file. |
| recognitionThreshold | Int32 | (Optional) The recognition threshold in range (0..100). Only elements filled above threshold will be counted as filled. |

### Return Value

The recognition result

### See Also

* class [RecognitionResult](../../../aspose.omr.model/recognitionresult)
* class [TemplateProcessor](../../templateprocessor)
* namespace [Aspose.OMR.Api](../../templateprocessor)
* assembly [Aspose.OMR](../../../)

---

## Recognize(Stream[], int) {#recognize_1}

Recognizing collection of files from streams

```csharp
public RecognitionResult Recognize(Stream[] streams, int recognitionThreshold = -100)
```

| Parameter | Type | Description |
| --- | --- | --- |
| streams | Stream[] | Collection of file streams. |
| recognitionThreshold | Int32 | (Optional) The recognition threshold in range (0..100). Only elements filled above threshold will be counted as filled. |

### Return Value

The recognition result

### See Also

* class [RecognitionResult](../../../aspose.omr.model/recognitionresult)
* class [TemplateProcessor](../../templateprocessor)
* namespace [Aspose.OMR.Api](../../templateprocessor)
* assembly [Aspose.OMR](../../../)

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