{"product_id":"build-ai-image-search-with-detr-object-detection-elasticsearch","title":"Build AI Image Search with Detr Object Detection \u0026 Elasticsearch","description":"\u003ch3\u003eBuild an Object-Based AI Image Search Index in n8n (DETR + Elasticsearch)\u003c\/h3\u003e\n\u003cp\u003eThis n8n workflow automatically analyzes images with \u003cstrong\u003eDETR-Resnet-50\u003c\/strong\u003e object detection (via \u003cstrong\u003eCloudflare Workers AI\u003c\/strong\u003e) and stores the detected objects—along with positions, labels, and confidence—into \u003cstrong\u003eElasticsearch\u003c\/strong\u003e so you can search by what’s in the image.\u003c\/p\u003e\n\n\u003ch3\u003eWhat this workflow does\u003c\/h3\u003e\n\u003cul\u003e\n  \u003cli\u003e\n\u003cstrong\u003eImports an image\u003c\/strong\u003e into the workflow using an \u003cstrong\u003eHTTP Request\u003c\/strong\u003e node.\u003c\/li\u003e\n  \u003cli\u003eSends the image to \u003cstrong\u003eCloudflare’s Worker AI API\u003c\/strong\u003e to run the \u003cstrong\u003eDETR-Resnet-50 object classification\u003c\/strong\u003e model.\u003c\/li\u003e\n  \u003cli\u003eReceives \u003cstrong\u003eobject associations\u003c\/strong\u003e including \u003cstrong\u003epositions in the image\u003c\/strong\u003e, \u003cstrong\u003elabels\u003c\/strong\u003e, and a \u003cstrong\u003econfidence score\u003c\/strong\u003e.\u003c\/li\u003e\n  \u003cli\u003e\n\u003cstrong\u003eFilters results\u003c\/strong\u003e: object detections with \u003cstrong\u003econfidence \u0026lt; 0.9\u003c\/strong\u003e are discarded for brevity.\u003c\/li\u003e\n  \u003cli\u003eIndexes the \u003cstrong\u003eimage URL\u003c\/strong\u003e plus the remaining \u003cstrong\u003eobject associations\u003c\/strong\u003e into an \u003cstrong\u003eElasticsearch\u003c\/strong\u003e instance.\u003c\/li\u003e\n\u003c\/ul\u003e\n\u003cp\u003eResult: a searchable Elasticsearch index that connects images to the objects they contain—unlocking object-based image search workflows.\u003c\/p\u003e\n\n\u003ch3\u003eUse cases\u003c\/h3\u003e\n\u003cul\u003e\n  \u003cli\u003e\n\u003cstrong\u003eContent libraries\u003c\/strong\u003e that need search like “find images with bicycles, helmets, or cars.”\u003c\/li\u003e\n  \u003cli\u003e\n\u003cstrong\u003eE-commerce catalogs\u003c\/strong\u003e where product photos can be indexed by detected objects for improved discovery.\u003c\/li\u003e\n  \u003cli\u003e\n\u003cstrong\u003eInternal asset management\u003c\/strong\u003e for SaaS operators—automatically tag and index visual assets for faster retrieval.\u003c\/li\u003e\n  \u003cli\u003e\n\u003cstrong\u003eAutomation engineers\u003c\/strong\u003e building pipelines that enrich image metadata for downstream search and analytics.\u003c\/li\u003e\n\u003c\/ul\u003e\n\n\u003ch3\u003eTechnical details\u003c\/h3\u003e\n\u003cul\u003e\n  \u003cli\u003e\n\u003cstrong\u003en8n nodes \/ workflow components\u003c\/strong\u003e: HTTP Request, \u003cem\u003eSet\u003c\/em\u003e, \u003cem\u003eFilter\u003c\/em\u003e, \u003cem\u003eSplit Out\u003c\/em\u003e, \u003cem\u003eEdit Image\u003c\/em\u003e, and supporting steps (e.g., sticky notes).\u003c\/li\u003e\n  \u003cli\u003e\n\u003cstrong\u003eCloudflare Workers AI\u003c\/strong\u003e: runs the \u003cstrong\u003eDETR-Resnet-50\u003c\/strong\u003e object model through the Worker AI API.\u003c\/li\u003e\n  \u003cli\u003e\n\u003cstrong\u003eElasticsearch\u003c\/strong\u003e: stores the image URL and associated detected objects for search.\u003c\/li\u003e\n\u003c\/ul\u003e\n\u003cp\u003e\u003cstrong\u003eExtending the workflow:\u003c\/strong\u003e enrich your indexed data with additional attributes or metrics, and (as noted) use a \u003cstrong\u003evectorstore\u003c\/strong\u003e to enable \u003cstrong\u003esimilarity search\u003c\/strong\u003e over images.\u003c\/p\u003e","brand":"N8N Commerce","offers":[{"title":"Default Title","offer_id":45767902036147,"sku":"N8N-2331","price":68.99,"currency_code":"GBP","in_stock":true}],"thumbnail_url":"\/\/cdn.shopify.com\/s\/files\/1\/0749\/6279\/6723\/files\/hckKQDSTBCyDnII1pxuIC_YIbdMfji.png?v=1786093947","url":"https:\/\/buyflowscripts.com\/products\/build-ai-image-search-with-detr-object-detection-elasticsearch","provider":"N8N Commerce","version":"1.0","type":"link"}