Snap OCR
If enabled, the scanner extracts text from a captured image with the use of Text Recognition from Google's ML Kit.
To configure the Snap OCR feature via Scan2Deploy Studio, refer to Snap OCR.

Enable
Allows OCR text from scanner or camera (based on the selected input) to be decoded and displayed as a barcode result.
When you press the trigger, a preview of the camera or scanner frame is displayed on the screen. The OCR text is decoded while the trigger is held, and a bounding box will show around the successfully decoded text.
To confirm the selection, release the trigger. The decoded OCR text is then processed according to the settings specified below.
First Selection Mode
Specifies how the OCR text is selected to be sent as a result. The available options are:
| Option | Description |
|---|---|
| Always Select | Asks you to select the text from a dialog showing all the decoded OCR text inside the frame. |
| ROI Propose | Selects all the text found in defined ROIs and you can decide to deselect parts of the text. |
| Picklist Propose | Searches for the closest bounding box result near the center of the image, selects it and then asks for confirmation. |
| ROI Send | Sends all the text found in defined ROIs as barcode result. |
| Picklist Send | Automatically sends the result for the closest bounding box near the center of the image. |
Scanning Policy
Specifies the scanning policy. The available options are:
| SOption | Description |
|---|---|
| OCR + Barcode | Decodes both OCR texts and barcodes. |
| OCR Only | Decodes only OCR texts. |
| OCR Trigger | Maps the OCR decoding to a newly added keycode (called OCR_DECODE). The standard barcode decoding keycode will not trigger OCR decoding. |
ROI Settings
Configures the ROIs used in the ROI Propose and ROI Send first selection modes.

Result Settings
Configures the OCR results.
Results Combination
Specifies how to combine the different OCR text results that are selected. The available options are:
| Option | Description |
|---|---|
| Concatenated | Concatenates the OCR texts into a single result, using the separator configured in Result Separator. |
| Divided | Sends each selected OCR text as a separate result. |
Result Separator
Configures the separator to use when the results combination is set to Concatenated.
Regex Filter
Defines a regular expression (regex) pattern to filters out any decoded OCR text.
ROI Prefix Visible
If enabled, it adds a prefix to the OCR results to indicate the ROI they belong to.
The prefix format is: <ROI NUMBER>:<OCR TEXT>, where <ROI NUMBER> indicates the index of the ROI inside the ROI Settings (starting from 1) and <OCR TEXT> is the original result.
UI Customization
Configures the User Interface of the Snap OCR feature.
Background Color
Sets the background color for the result dialog shown when the first selection mode is Always Select, ROI Propose or Picklist Propose.
Text Color
Sets the text color for the result dialog shown when the first selection mode is Always Select, ROI Propose or Picklist Propose.
Reference ROI Visible
Toggles visibility for the reference ROI in the preview.