Text recognition from an image (OCR)

For this type of project, you can use the Text recognition from an image (OCR) preset.

This preset is used for interpreting information from a photo.

Take a look at the example: the labeling interface includes an image, a response field, and a checkbox for reporting on problems with an image.

Note that validation and task layout are already configured in this Template Builder sample code.

View example
Components used in the example

If this template doesn't meet your needs, see other examples in the Images section.

Add a description

To add a detailed description to the task, use the label property of the view.image component.

Show code
View example

Add a clarifying question

To ask Tolokers to clarify their choice if they selected the No business checkbox, add the helper.if component which contains field.radio-group.

Show code
View example

Add a layout

To enhance Toloker's experience, you can highlight different types of data with colors using view.alert. You can place it in the view.list along with the other components.

In this example, the text is highlighted with a blue border.

Show code
View example

Add a field for comments

To let Tolokers leave comments about the task or their response, add a text field using field.textarea.

Show code
View example

Add keyboard shortcuts

Add keyboard shortcuts to rotate and zoom in images in the plugin.hotkeys configuration.

Show code
View example

Contact support

Last updated: February 10, 2023

Getting started
Important tips
Useful recommendations
Working with Toloka
Project analysis
Toloka settings
Task interface
Template Builder
HTML/CSS/JS editor
Help and support