{"id":16976173,"url":"https://github.com/ashvardanian/usearch-images","last_synced_at":"2025-04-12T00:32:07.316Z","repository":{"id":174424886,"uuid":"649313074","full_name":"ashvardanian/usearch-images","owner":"ashvardanian","description":"Semantic Search demo featuring UForm, USearch, UCall, and StreamLit, to visual and retrieve from image datasets, similar to \"CLIP Retrieval\"","archived":false,"fork":false,"pushed_at":"2023-12-29T19:38:04.000Z","size":10972,"stargazers_count":45,"open_issues_count":0,"forks_count":4,"subscribers_count":4,"default_branch":"main","last_synced_at":"2025-04-11T03:02:23.845Z","etag":null,"topics":["ai","clip","clip-model","clip-retrival","demo","demo-app","multi-lingual","multi-modal","semantic-search","streamlit","transformer","vector-search"],"latest_commit_sha":null,"homepage":"https://usearch-images.com","language":"Python","has_issues":false,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/ashvardanian.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null}},"created_at":"2023-06-04T13:17:29.000Z","updated_at":"2025-02-10T16:16:12.000Z","dependencies_parsed_at":"2023-12-28T04:41:47.267Z","dependency_job_id":null,"html_url":"https://github.com/ashvardanian/usearch-images","commit_stats":null,"previous_names":["ashvardanian/semantic-gallery-streamlit","ashvardanian/gallery-streamlit","ashvardanian/usearch-images"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ashvardanian%2Fusearch-images","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ashvardanian%2Fusearch-images/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ashvardanian%2Fusearch-images/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ashvardanian%2Fusearch-images/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ashvardanian","download_url":"https://codeload.github.com/ashvardanian/usearch-images/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248501409,"owners_count":21114674,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["ai","clip","clip-model","clip-retrival","demo","demo-app","multi-lingual","multi-modal","semantic-search","streamlit","transformer","vector-search"],"created_at":"2024-10-14T01:25:11.549Z","updated_at":"2025-04-12T00:32:04.978Z","avatar_url":"https://github.com/ashvardanian.png","language":"Python","funding_links":[],"categories":["Python"],"sub_categories":[],"readme":"#  USearch Images\n\n![USearch Images animated text to image multi-modal AI search](assets/usearch-images-slow.gif)\n\n## Semantic Search Demo with [UForm][uform], [USearch][usearch], and [UCall][ucall]\n\n- [x] Can run the GUI and the search part on the same or different server\n- [x] Comes with pre-constructed indexes for large datasets\n- [x] Supports text-to-image and image-to-image search\n\nTo start the StreamLit demo app locally, you need to download just a couple of files:\n\n```sh\nmkdir -p /data/unsplash-25k\nwget -O /data/unsplash-25k/images.txt https://huggingface.co/datasets/unum-cloud/gallery-unsplash-25k/resolve/main/images.txt\nwget -O /data/unsplash-25k/images.uform-vl-multilingual-v2.fbin https://huggingface.co/datasets/unum-cloud/gallery-unsplash-25k/resolve/main/images.uform-vl-multilingual-v2.fbin\n\npip install -r requirements.txt\nstreamlit run streamlit_app.py\n```\n\n[uform]: https://github.com/unum-cloud/uform\n[usearch]: https://github.com/unum-cloud/usearch\n[ucall]: https://github.com/unum-cloud/ucall\n\n## Datasets\n\nThe default dataset - Unsplash, contains less than 25'000 images.\nStill, the demo is easy to extend to other datasets, some of which we already embedded with UForm and indexed with USearch.\nAll datasets are available on [Unum's HuggingFace page][unum-huggingface] and share an identical format:\n\n- `images.txt` contains newline-delimited URLs or Base64-encoded data-URIs of images.\n- `images.\u003cmodel\u003e.fbin` contains a binary matrix of [UForm][uform] embedding for every image from `images.txt`.\n- `images.\u003cmodel\u003e.usearch` contains a binary [USearch][usearch] search index for fast kANN.\n\nAdditionally, some image-text paired datasets may provide `texts.txt`, `texts.\u003cmodel\u003e.fbin`, `texts.\u003cmodel\u003e.usearch`, following the same logic.\n\n[unum-huggingface]: https://huggingface.co/unum-cloud\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fashvardanian%2Fusearch-images","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fashvardanian%2Fusearch-images","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fashvardanian%2Fusearch-images/lists"}