Agricultural Crop Anomaly Detection Tool
detail.loadingPreview
Detects if an input image depicts an anomalous agricultural crop compared to a pre-defined dataset.
About This Workflow
This workflow acts as an anomaly detection tool for agricultural crops. It takes an image URL as input and determines if the depicted crop is anomalous relative to a dataset of known crops stored in a Qdrant vector database. The process involves embedding the input image, querying the database for similar crop types, and comparing similarity scores against established thresholds. If the image scores below all defined thresholds, it is flagged as an anomaly.
Key Features
- Takes any image URL as input.
- Leverages Voyage AI's multimodal embeddings for image analysis.
- Queries a Qdrant vector database for similarity to known crop types.
- Compares similarity scores against pre-defined cluster thresholds.
- Outputs a text message indicating whether the crop is anomalous or similar to a known class.
How To Use
- Trigger: Initiate the workflow by providing an
imageURLvia theExecute Workflow Trigger. For example:https://storage.googleapis.com/n8n-qdrant-demo/agricultural-crops%2Fcotton%2Fimage%20(36).jpg. - Variable Setup: The
Variables for medoidsnode configures Qdrant connection details and cluster types. TheInfo About Crop Labeled Clustersnode dynamically determines the number of crop classes based on the Qdrant collection. - Image Embedding: The
Embed imagenode uses Voyage AI to generate an embedding vector for the input image. - Similarity Query: The
Get similarity of medoidsnode queries the Qdrant collection using the generated embedding to find the most similar known crop types, consideringclusterCenterTypeandclusterThresholdCenterType. - Anomaly Check: The
Compare scoresnode evaluates the similarity scores against the payload thresholds. If the image is not similar enough to any known crop class (i.e.,undefinedremains true), an alert message is generated. Otherwise, it suggests the most similar crop.
Apps Used
Workflow JSON
{
"id": "a2d851d1-e52b-43fe-976c-4d4132e8e6b2",
"name": "Agricultural Crop Anomaly Detection Tool",
"nodes": 26,
"category": "AI & Machine Learning",
"status": "active",
"version": "1.0.0"
}Note: This is a sample preview. The full workflow JSON contains node configurations, credentials placeholders, and execution logic.
Get This Workflow
ID: a2d851d1-e52b...
About the Author
DevOps_Master_X
Infrastructure Expert
Specializing in CI/CD pipelines, Docker, and Kubernetes automations.
Statistics
Related Workflows
Discover more workflows you might like
Visa Requirement Checker
A workflow to check visa requirements based on user input, leveraging Langchain, Cohere embeddings, Weaviate vector store, and Anthropic LLM.
NeurochainAI Basic API Integration for Telegram
Integrates NeurochainAI's text and image generation APIs with a Telegram bot.
OpenAI Text-to-Speech Workflow
Generate audio from text using OpenAI's TTS API.