すべてのテンプレート

AI

Index Detected Image Objects

Detect and crop objects in an image, then index their URLs and labels.

Open Flow で使用
Open Flow の Index Detected Image Objects ワークフローOpen Flow の Index Detected Image Objects ワークフロー

Detect and crop objects in an image, then index their URLs and labels.

Setup

In Open Flow configure AWS_ACCESS_KEY_ID, AWS_SECRET_ACCESS_KEY and ELASTICSEARCH_API_KEY as secret variables, set the Cloudinary cloud name and unsigned upload preset and Elasticsearch index URL. Configure each Code node HTTP host allowlist for your Cloudinary delivery host, AWS region and Elasticsearch host. Enable persistent State. Supply an HTTPS JPEG or PNG image URL.

Behavior

The workflow uploads the source once to Cloudinary, then sends that fixed asset to Rekognition. Rekognition returns object boxes with confidence at least 90%. Cloudinary hosts the source and produces cropped URLs, and Elasticsearch stores each crop URL, source URL, label and box metadata. Inspect external services before clearing a pending checkpoint after an uncertain write. Avoid overlapping runs. A pending record covers the whole image, so reconcile all uploaded and indexed objects before clearing it. The original image is sent to Cloudinary and AWS. Rekognition accepts JPEG or PNG up to 5 MiB.

In n8n

In n8n configure AWS and Elasticsearch credentials, the image URL and Cloudinary preset, and a Data Table with item_key and status text columns.

Inspiration & credits

Adapted from Build Your Own Image Search Using AI Object Detection, CDN and ElasticSearch in enescingoz/awesome-n8n-templates.

Source collection notice: © 2024–2026 Enes Cingoz, CC BY 4.0. The source export does not identify a separate template author or license. See repository licensing for the scope of OOMOL contributions and third-party material.

Changes from source: Replace the unavailable Cloudflare detection model with AWS Rekognition, use Cloudinary crop delivery URLs, and add checkpoints for external writes.

Collection license notice:

Creative Commons Attribution 4.0 International License

Copyright (c) 2024-2026 Enes Cingoz

You are free to:

  Share - copy and redistribute the material in any medium or format
  Adapt - remix, transform, and build upon the material for any purpose,
  even commercially.

Under the following terms:

  Attribution - You must give appropriate credit, provide a link to the
  license, and indicate if changes were made. You may do so in any
  reasonable manner, but not in any way that suggests the licensor
  endorses you or your use.

  No additional restrictions - You may not apply legal terms or
  technological measures that legally restrict others from doing
  anything the license permits.

Notices:

  You do not have to comply with the license for elements of the
  material in the public domain or where your use is permitted by an
  applicable exception or limitation.

  No warranties are given. The license may not give you all of the
  permissions necessary for your intended use. For example, other rights
  such as publicity, privacy, or moral rights may limit how you use the
  material.

For the full license text, see:
https://creativecommons.org/licenses/by/4.0/legalcode