Tutorial

OCR Automation: Extract Text and Numbers from Images

OCR (Optical Character Recognition) is everywhere — scanned documents, invoices, utility meters, product labels, serial numbers, dashboards, and industrial displays. The OCR Connector makes it incredibly easy to extract text and numeric data from images inside your workflows, enabling automation for any process that relies on visual information.

With the OCR Connector, you can read text from images, extract numbers, validate confidence levels, and seamlessly integrate visual data into your automation pipelines.

Step 1: Provide an Image

The OCR node accepts an image path directly or through pipeline input. You can specify:

  • Image File Path — e.g., C:/images/meter.png
  • Pipeline Input — objects containing path or file.path

The connector automatically resolves the correct file path, even when the image comes from a previous step such as filesystem.listFiles.

Step 2: Configure OCR Settings

Use the OCR - Extract Text node to process the image. You can configure:

  • tessdataPath — folder containing language data
  • language — English, Romanian, German, French, Spanish
  • pageSegMode — auto, single block, single line, single word, sparse text
  • outputNumbers — extract only digits
  • minConfidence — minimum confidence threshold

The connector uses the Tesseract OCR engine to process the image and extract text.

Step 3: Extract Text

Once the image is processed, the node returns:

  • text — extracted text
  • confidence — OCR confidence percentage
  • imagePath — resolved image path
  • numbers — extracted numeric values (if enabled)

This is ideal for reading meter values, serial numbers, printed labels, receipts, or any text-based visual data.

Step 4: Extract Only Numbers

If your workflow only needs numeric values — such as meter readings, measurements, or prices — enable Output Only Digits. The connector will:

  • Whitelist digits
  • Extract decimal numbers
  • Return an array of numeric values

This is perfect for industrial automation, utility monitoring, or data extraction from dashboards.

Step 5: Automate OCR Workflows

Once OCR data enters your workflow, you can combine it with any other connector:

  • Send extracted values to Google Sheets or databases
  • Trigger alerts via Slack or Telegram
  • Run conditional logic based on extracted numbers
  • Generate reports or documents
  • Feed OCR results into machine learning or analytics pipelines

OCR becomes a powerful entry point into your automation ecosystem.

What's Next?

Experiment with multi-step workflows, combine OCR with image preprocessing, or build dashboards showing extracted values. The OCR Connector gives you the tools to automate any image-driven process.

Nodlyn Assistant
Ask me anything about Nodlyn
Hi! 👋 I'm the Nodlyn assistant. Ask me about the product, workflow components, connectors, agent runtime, agent capabilities, deployment, and more. If I don't know an answer, I'll point you to our contact form.
Nodlyn Assistant
Ask me anything about Nodlyn
Hi! 👋 I'm the Nodlyn assistant. Ask me about the product, workflow components, connectors, agent runtime, agent capabilities, deployment, and more. If I don't know an answer, I'll point you to our contact form.