> ## Documentation Index
> Fetch the complete documentation index at: https://docs.abbyy.com/llms.txt
> Use this file to discover all available pages before exploring further.

# CalcSuitableForOcr Method of the ImageProcessingTools Object

This method calculates the probability of the image to be suitable for OCR.

## Syntax

```vb Visual Basic .NET theme={null}
Function CalcSuitableForOcr(Image As Image) As Double
```

```cpp C++ theme={null}
HRESULT CalcSuitableForOcr(
  Image         Image,
  double*       Result
);
```

## Parameters

**Image**

\[in] This variable specifies the full path to the image file.

**Result**

\[out, retval] A pointer to a **Double** variable that receives the result of checking. The returned value will be in the interval from 0.0 to 1.0.

## Return values

This method has no specific return values. It returns the [standard return values of ABBYY FlexiCapture SDK functions](https://docs.abbyy.com/flexi-capture/sdk/api-reference/errorcodes.md).

## See also

[**ImageProcessingTools**](https://docs.abbyy.com/flexi-capture/sdk/api-reference/imageprocessingtools.md)

[**ImageFile**](https://docs.abbyy.com/flexi-capture/sdk/api-reference/imagefile.md)
