Context Image Search Utility
Project description
[!WARNING] This package is in development
Context Image Search
This utility provides you with advanced context to image search.
How it works
- Decomposes given text (context) into search querries using
gemini-2.5-flash-lite - Searches the querries on curated list of cc licensed images using google images
- Analyzes the images for visual match using ML
- Returns the best matching images
Requiered variablas
GEMINI_API_KEY- google gemini API keyGOOGLE_API_KEY- google custom search api keyGOOGLE_CXprogrammable search engine id
to aquire visit:
Demo
You can check out the provided demo in ./demo. To get started:
cdintodemodir- run
python -m venv .venv - run
source .venv/bin/activateorvenv\Scripts\activateif on windows - run
pip install -r requierments.txt - populate
.env.exampleand rename to.env - run
streamlit run demo.py
Example
context: Rheinmetall to Acquire German Naval Shipbuilder NVL
resulting images:
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
m1_cis-0.0.2.tar.gz
(12.4 kB
view details)
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
m1_cis-0.0.2-py3-none-any.whl
(12.2 kB
view details)
File details
Details for the file m1_cis-0.0.2.tar.gz.
File metadata
- Download URL: m1_cis-0.0.2.tar.gz
- Upload date:
- Size: 12.4 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.9.23
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
fcb852be24759a063aae6cda34f80c418490b4358de8ea8bbf6a03ad7c21f210
|
|
| MD5 |
3ffca756e8d6cb2b0eab6f81d49c6549
|
|
| BLAKE2b-256 |
dd643885a7e0e6cfd63436df31308187facaad9cbdb735e4b8ab7623ba6f26a6
|
File details
Details for the file m1_cis-0.0.2-py3-none-any.whl.
File metadata
- Download URL: m1_cis-0.0.2-py3-none-any.whl
- Upload date:
- Size: 12.2 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.9.23
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
ac49d6bd804dc1db9b671f1ebe9439763979b6bb98b5e3ed88f9a89db6a1cb22
|
|
| MD5 |
4e0335c5b1a2f8b8a152e3bf315c2283
|
|
| BLAKE2b-256 |
f646372ad5b55b6176f8755b1af47538c13ea6a6bd3434bb8d73f98aec3f907c
|