![Oracle Drags Its Feet in the JavaScript Trademark Dispute](https://cdn.sanity.io/images/cgdhsj6q/production/919c3b22c24f93884c548d60cbb338e819ff2435-1024x1024.webp?w=400&fit=max&auto=format)
Security News
Oracle Drags Its Feet in the JavaScript Trademark Dispute
Oracle seeks to dismiss fraud claims in the JavaScript trademark dispute, delaying the case and avoiding questions about its right to the name.
The first reverse image RAG API for image captioning and visual question answering with GPT-4V.
We build an API to retrieval-augment vision-language models with visual context retrieved from the web.
Concretely, for a query image and query text (e.g. a question), we leverage reverse image search to find most similar images and their titles / captions.
The final product is a VLM-API that allows to automatically leverage reverse-image-search based retrieval augmentation.
pip install rir_api
import rir_api
api = rir_api.RIR_API(openai_api_key)
image_url = "https://encrypted-tbn1.gstatic.com/images?q=tbn:ANd9GcSgN8RDkURVE8mgOf-n02TqJdC2l1o5cVFA32NpZtuVp8MaFfZY"
query_text = "What is in this image?"
response = api.query_with_image(image_url, query_text)
# >> runs reverse image search
# >> formats visual context prompt
# >> queries VLM with full query
(see run.py for minimal example)
For debugging, you can make API calls that display the web GUI (headless=True), and plot the image search result (show_result=True):
response = api.query_with_image(image_url, query_text, show_result=True, delay=3, headless=False)
Feel free to ping me under mdmoor[at]cs.stanford.edu if you're interested in contributing.
@misc{Moor2024,
author = {Michael Moor},
title = {Reverse Image RAG~(RIR)},
year = {2024},
publisher = {GitHub},
journal = {GitHub Repository},
howpublished = {\url{https://github.com/mi92/reverse-image-rag}},
}
FAQs
The first reverse image RAG API for image captioning and visual question answering with GPT-4V.
We found that rir-api demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
Oracle seeks to dismiss fraud claims in the JavaScript trademark dispute, delaying the case and avoiding questions about its right to the name.
Security News
The Linux Foundation is warning open source developers that compliance with global sanctions is mandatory, highlighting legal risks and restrictions on contributions.
Security News
Maven Central now validates Sigstore signatures, making it easier for developers to verify the provenance of Java packages.