Image Feature Extraction
Image feature extraction turns an image into an embedding vector for search or downstream models.
Inputs
Input
Image Feature Extraction Model
Output
Output
[0.031, 0.442, -0.118, … 1024 values]
About Image Feature Extraction
Image feature extraction turns an image into an embedding vector for search or downstream models. Browse image feature extraction models on HubClone to compare checkpoints, or open a Space to try one in the browser.
Use Cases
Image similarity search
Find visually similar products.
Deduplication
Detect near-duplicate photos in a collection.
Inference
The Transformers pipeline API runs image feature extraction models in a few lines. Replace <model-id> with any model listed on this page.
from transformers import pipeline
pipe = pipeline("image-feature-extraction", model="<model-id>")
pipe("fox.png")Useful Resources
Want to dig deeper into the topic? Great! Here is a hand-picked list of resources we found helpful.
Documentation
- Image Feature Extraction task guide
- Pipelines reference
Notebooks
- Fine-tuning a image feature extraction model