Skip to content
NEWMarketplace and your team: sell what you build, and get plans and changes that are tested before you see them. See what is new

Library / Monitoring, Ops & Incidents

Monitoring, Ops & Incidents

Detect Anomalous Crop Images Using Voyage AI Embeddings and Qdrant

Sub-workflow that embeds an image URL with Voyage AI and compares it to a Qdrant crop dataset, returning whether the crop is anomalous. Runs when another workflow calls it.

What it does

## Crop Anomaly Detection Tool ### This is the tool that can be used directly for anomalous crops detection. It takes as input (any) image URL and returns a text message telling if whatever this image depicts is anomalous to the crop dataset stored in Qdrant. * An Image URL is received via the Execute Workflow Trigger which is used to generate embedding vectors via the Voyage.ai Embeddings API. * The returned vectors are used to query the Qdrant collection to determine if the given crop is known by comparing it to threshold scores of each image class (crop type). * If the image scores lower than all thresholds, then the image is considered an anomaly for the dataset.

The steps

  1. Embed image
  2. Get similarity of medoids
  3. Compare scores
  4. Variables for medoids
  5. Info About Crop Labeled Clusters
  6. Total Points in Collection
  7. Each Crop Counts
  8. Image URL hardcode
  9. Execute Workflow Trigger

Similar automations