Library / AI Agents & Assistants
AI Agents & Assistants
Validate Passport Photos With Gemini Vision and Google Drive
Checks photos against UK passport photo rules using a Gemini vision model and returns structured results. Runs when started manually.
What it does
## 2. Verify Passport Photo Validity Using AI Vision Model [Learn more about Basic LLM Chain]({{ $env.WEBHOOK_URL }} Verifying if a photo is suitable for a passport photo is a great use-case for AI vision and to automate the process is an equally great use-case for using n8n. Here's we've pasted in the UK governments guidelines copied from gov.uk and have asked the AI to validate the incoming photos following those rules. A structured output parser is used to simplify the AI response which can be used to update a database or backend of your choosing.
The steps
- When clicking ‘Test workflow’
- Structured Output Parser
- Photo URLs
- Photos To List
- Download Photos
- Resize For AI
- Passport Photo Validator
- Google Gemini Chat Model
- Error Handler
Similar automations
AI Agents & AssistantsValidate Passport Photos with Gemini AI Vision8 stepsImage, Video & AudioVerify Passport Photos In Google Drive Against UK Rules Using Gemini Vision9 stepsAI Agents & AssistantsValidate Passport Photos with Gemini AI Vision8 stepsFinance, Invoices & AccountingLog Receipts from Telegram Photos with Google Vision OCR23 steps