# Recognize Text from Image

Text recognition from the specified graphic file. You can choose one of several available offline and online OCR modules. Supported image formats: .png, .jpeg, .jpg, .bmp.

<table data-header-hidden><thead><tr><th width="236" valign="top"></th><th width="302" valign="top"></th></tr></thead><tbody><tr><td valign="top">Selector</td><td valign="top">[Selector] To interactively select the area of the image, use the Record button in the selector editing window.</td></tr><tr><td valign="top">File Path</td><td valign="top">[Text] Path to the image file.</td></tr><tr><td valign="top">Text Language</td><td valign="top">Select the language of the text.</td></tr><tr><td valign="top">Module</td><td valign="top">Select the OCR module used for recognizing the image into text.</td></tr><tr><td valign="top">Segmentation Method</td><td valign="top"><p>[Text] The recognized text can be automatically segmented into parts, separated by commas.</p><p>Segmentation method:</p><ul><li>0 - Use the specified block delimiter,</li><li>1 - Automatic segmentation (only for Yandex),</li><li>2 - Segment by empty spaces longer than the specified number of characters.</li></ul></td></tr><tr><td valign="top">Block Delimiter</td><td valign="top"><p>[Number] The hexadecimal code of the character that will be considered as the block delimiter.</p><p>For example, a space has the code 20, a tab character has the code 9. Used when selecting segmentation method 0.</p></td></tr><tr><td valign="top">Number of Characters</td><td valign="top">[Number] The length of empty space in the recognized text, measured in the number of characters, which is used when selecting the text segmentation method 2.</td></tr><tr><td valign="top">Zoom</td><td valign="top"><p>[Number] A value indicating how much to zoom the image before recognition.</p><p>Depending on the engine used and the resolution of the original image, zooming the image by 2 or 3 times helps improve recognition quality.</p></td></tr><tr><td valign="top">Auto Rotate Page</td><td valign="top">Automatically rotate the page during recognition.</td></tr><tr><td valign="top">Result</td><td valign="top">[Text] The recognized text will be placed in the variable specified here.</td></tr><tr><td valign="top">Error Handling Level</td><td valign="top"><p>Select the error handling level. Possible values:</p><ul><li>"Default" - by default;</li><li>"Ignore" - errors are ignored;</li><li>"Handle" - errors are processed.</li></ul><p>If "Default" is selected, the value from the "Start" block of this diagram will be used.</p></td></tr><tr><td valign="top">Message Level</td><td valign="top"><p>Select the message level that the blocks will output during operation. Possible values:</p><ul><li>"Default" - by default;</li><li>"Release" - output is disabled;</li><li>"Debug" - outputs main information;</li><li>"Detailed" - outputs detailed information.</li></ul><p>If "Default" is selected, the value from the "Start" block of this diagram will be used.</p></td></tr><tr><td valign="top">Error Text</td><td valign="top">[Text] Returns detailed information about the error in case of incorrect execution of the block's work.</td></tr></tbody></table>
