0CodeKit icon

0CodeKit

A toolbox of no-code utilities

AI → Picture Text Recognition

AI-generated

Overview

The AI - Picture Text Recognition operation in this custom n8n node allows you to extract text from images by providing the URL of an image. This is useful for scenarios where you need to automate the process of reading and processing text from pictures, such as digitizing receipts, extracting information from scanned documents, or processing screenshots.

Practical examples:

  • Automatically extract invoice numbers from photographed receipts.
  • Read and process serial numbers from product images.
  • Digitize printed forms by extracting their textual content.

Properties

Name Meaning
URL URL of the image you want to analyse

Output

The output will be a JSON object containing the recognized text extracted from the provided image. The exact structure may vary depending on the API response, but typically includes fields such as the detected text and possibly additional metadata about the recognition process.

Example output:

{
  "text": "Recognized text from the image",
  // ...other possible metadata fields
}

Dependencies

  • External Service: Requires access to the CodeKit API (as indicated by the required codeKitApi credential).
  • n8n Configuration: You must configure the codeKitApi credentials in your n8n instance.

Troubleshooting

  • Common Issues:

    • Invalid Image URL: If the provided URL is incorrect or inaccessible, the node may return an error or empty result.
    • API Key Missing/Invalid: If the codeKitApi credential is not set up correctly, authentication errors will occur.
    • Unsupported Image Format: Only standard image formats (e.g., JPG, PNG) are likely supported.
  • Error Messages:

    • "error": "Request failed with status code 401" – Check your API credentials.
    • "error": "Image not found" – Verify the image URL is correct and publicly accessible.
    • "error": "Unsupported file format" – Use a supported image type.

Links and References

Discussion