Библиотека / Строительные блоки и утилиты
Строительные блоки и утилиты
Обнаружение аномальных изображений обрезки с помощью эмбеддингов Voyage.ai и Qdrant
Переиспользуемый подпроцесс, который вызывают другие процессы. Принимает URL изображения, создаёт эмбеддинги Voyage.ai и сверяет их с пороговыми значениями классов обрезки в Qdrant, помечая аномальные обрезки.
Что делает
## 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.
Шаги
- Embed image
- Get similarity of medoids
- Compare scores
- Variables for medoids
- Info About Crop Labeled Clusters
- Total Points in Collection
- Each Crop Counts
- Image URL hardcode
- Execute Workflow Trigger
Похожие автоматизации
Строительные блоки и утилитыКлассификация изображений типов земельных участков с помощью эмбеддингов Voyage.ai и голосования KNN в QdrantШагов: 10Строительные блоки и утилитыКлассификация изображений по типу местности с Voyage AI и QdrantШагов: 10Мониторинг, эксплуатация и инцидентыОбнаружение аномальных изображений урожая с помощью эмбеддингов Voyage AI и QdrantШагов: 9RAG и базы знанийАссистент по налоговому кодексу с Qdrant, Mistral и OpenAIШагов: 31