AI Agents

Instant Object Detection Using Gemini 2.0

14 nodes 332 153 Automatic trigger
Download

Workflow Description

Automation that detects objects in images instantly via Gemini 2.0, analyzes visual content, and extracts reliable data to accelerate manual review and automate image classification workflows.

How it works

  1. 1.Trigger workflow manually or via HTTP request to submit an image
  2. 2.Process the image and send it to Gemini 2.0 model for analysis
  3. 3.Extract detected objects list with confidence scores and coordinates
  4. 4.Format and organize results, store findings in a structured note
  5. 5.Return analyzed data through API response or downstream application

Use cases

  • Automatically categorize and verify warehouse inventory upon receiving shipments
  • Analyze product images to detect defects and verify authenticity in retail
  • Catalog and document physical assets and property contents visually
  • Process shipping invoices and inspect package contents automatically

Requirements

  • Valid API key for Gemini 2.0 with sufficient quota
  • Ability to pass images as direct URLs or base64-encoded data
  • Active n8n environment with HTTP request and code execution permissions

Service Value

Ready-made workflow template for automation delivery and service execution.

Apps Used

Manual Trigger Set HTTP Request Code Edit Image Note

Details

Trigger Automatic trigger
Nodes 14
Apps 6
Views 332
Downloads 153

How to Use

  1. 1.Click "Download Template"
  2. 2.Open your n8n dashboard
  3. 3.Go to Workflows > Import from File
  4. 4.Select downloaded file and configure credentials

Nodes Used (14)

/

When clicking ‘Test workflow’

Manual Trigger

#1

Get Variables

Set

#2

Get Test Image

HTTP Request

#3

Gemini 2.0 Object Detection

HTTP Request

#4

Scale Normalised Coords

Code

#5

Draw Bounding Boxes

Edit Image

#6

Get Image Info

Edit Image

#7

Sticky Note

Sticky Note

#8

Sticky Note1

Sticky Note

#9

Sticky Note2

Sticky Note

#10

Sticky Note3

Sticky Note

#11

Sticky Note4

Sticky Note

#12

Sticky Note5

Sticky Note

#13

Sticky Note6

Sticky Note

#14