Article sections

    What is OCR?

    Optical Character Recognition (OCR) is a codeREADr data capture tool that allows a device’s camera to read and convert text from the image on the screen to typed characters. In other words, your device’s camera can record a targeted text string in that view.

    For example, users can scan a box with an item name on it and record that item name without typing it manually. This feature is most useful for long strings of characters that need to be scanned but do not have a barcode image attached. Any data captured by the OCR-enabled camera can be validated and used just as you would with a scanned barcode value.

    How Do I Enable OCR on codeREADr?

    In the codeREADr app, OCR can be used for both primary scans and question-answer scans. To enable OCR, you’ll need to select “Enable custom scanner configuration.” Once selected you can select the “Enable OCR” option and any other options as desired.

    You can read more about the scanner configuration options in our Knowledgebase article on the topic.

    OCR option

    We suggest you start with the following options:

    • Scanner mode: Fusion
    • Enable Targeting
    • Allow the app user to resize the frame
    • Trigger scanning: Toggle

    OCR settings for question

    The screenshot above shows how this setting would be configured for a question-answer on the “Questions” page. It would be the same configuration for the primary scan, which is a scan made from the “Tap to scan” scene of the mobile app. That’s would be configured on the Advanced step.

    Can I Scan License Plates?

    An example use case for OCR is to capture, record, and optionally validate license plates. Below is the specific configuration we have created for that use case.

    Enter configuration directly

    In the box marked “Enter configuration directly,” paste the following JSON code:

    {
    "scanner_mode": "FUSION",
    "trigger_scanning": "TOGGLE",
    "ocr_scanning": true,
    "ocr_preview": "NONE",
    "fusion_targeting_enabled": true,
    "fusion_framing_enabled": false,
    "frame_percentage": {
    "width": "15",
    "height": "2"
    },
    "symbologies": "OCR",
    "sound": false,
    "frame_resizable": true,
    "smart_scan_config": [
    {
    "match_barcodes": [
    {
    "symbology": "OCR",
    "pattern": "^([A-Z0-9]{1,3})([^A-Z0-9]?)([A-Z0-9]{3,7})$",
    "replacement": "$1$3",
    "sendToUser": true
    }
    ]
    }
    ]
    }

    Please contact us via email or through our website’s Chat Now utility if you need assistance configuring OCR for your use case.

    in Barcodes and More