TE
TechEcho
Home24h TopNewestBestAskShowJobs
GitHubTwitter
Home

TechEcho

A tech news platform built with Next.js, providing global tech news and discussions.

GitHubTwitter

Home

HomeNewestBestAskShowJobs

Resources

HackerNews APIOriginal HackerNewsNext.js

© 2025 TechEcho. All rights reserved.

Show HN: Search photos on Unsplash using natural language queries

6 pointsby vladohabout 4 years ago

1 comment

vladohabout 4 years ago
This is one of my projects using OpenAI&#x27;s CLIP model to do interesting things. So the big credit goes to them!<p>I processed 2M images from the Unsplash dataset with CLIP and stored the feature vector representation of each photo (a 512 element vector). You can now encode a text query with CLIP in the same latent space and search the database.<p>I also tried doing some simple arithmetic with the feature vectors to combine the result of a search query and a photo. You can for example search for &quot;Sydney Opera house&quot; and give it a bight photo and you will get a photo of the Sydney Opera at night.<p>You can directly jump to the Google Colab notebook if you want to give it a try: <a href="https:&#x2F;&#x2F;colab.research.google.com&#x2F;github&#x2F;haltakov&#x2F;natural-language-image-search&#x2F;blob&#x2F;main&#x2F;colab&#x2F;unsplash-image-search.ipynb" rel="nofollow">https:&#x2F;&#x2F;colab.research.google.com&#x2F;github&#x2F;haltakov&#x2F;natural-la...</a>
评论 #26378268 未加载