Git Product home page Git Product logo

awesome-openai-vision-api-experiments's Introduction

openai vision api experiments ๐Ÿงช

๐Ÿ‘‹ Hello

The must-have resource for anyone who wants to experiment with and build on the OpenAI Vision API. This repository serves as a hub for innovative experiments, showcasing a variety of applications ranging from simple image classifications to advanced zero-shot learning models. It's a space for both beginners and experts to explore the capabilities of the Vision API, share their findings, and collaborate on pushing the boundaries of visual AI.

Experimenting with the OpenAI API requires an API ๐Ÿ”‘. You can get one here.

โš ๏ธ Limitations

  • 100 API requests per single API key per day.
  • Can't be used for object detection or image segmentation. We can solve this problem by combining GPT-4V with foundational models like GroundingDINO or Segment Anything (SAM). Please take a look at the example and read our blog post.

๐Ÿงช Experiments

experiment complementary materials authors
WebcamGPT - chat with video stream GitHub Gradio @SkalskiP
HotDogGPT - simple image classification application GitHub Gradio @SkalskiP
zero-shot image classifier with GPT-4V GitHub @capjamesg
zero-shot object detection with GroundingDINO + GPT-4V GitHub Gradio @capjamesg
GPT-4V vs. CLIP GitHub @capjamesg
GPT-4V with Set-of-Mark (SoM) GitHub Jianwei Yang, Hao Zhang, Feng Li, Xueyan Zou, Chunyuan Li, Jianfeng Gao
GPT-4V on Web GitHub @Jiayi-Pan
automated voiceover of NBA game GitHub Colab @SkalskiP
webcamgpt.mov

๐Ÿ—ž๏ธ Must Read Papers

๐Ÿ–Š๏ธ Blogs

๐Ÿฆธ Contribution

We would love your help in making this repository even better! Whether you want to add a new experiment or have any suggestions for improvement, feel free to open an issue or pull request.

If you are up to the task and want to add a new experiment, please look at our contribution guide. There you can find all the information you need.

awesome-openai-vision-api-experiments's People

Contributors

capjamesg avatar daaniyaan avatar jiayi-pan avatar pzmudzinski avatar skalskip avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

awesome-openai-vision-api-experiments's Issues

TypeError: __init__() missing 1 required positional argument: 'api_key'

Hi, thank you for your great work!
When I ran the gpt4v-grounding-dino-detection task, I encountered an error:
Traceback (most recent call last):
File "/home/project/awesome-openai-vision-api-experiments/experiments/gpt4v-grounding-dino-detection/app.py", line 15, in
classification_model=GPT4V(
TypeError: init() missing 1 required positional argument: 'api_key'
How to solve it? Looking forward to your answer, thank you!

ModuleNotFoundError: No module named 'roboflow'

Hello, thank you for making this code available! ๐Ÿ™

I followed the README at https://github.com/roboflow/awesome-openai-vision-api-experiments/blob/main/experiments/gpt4v-grounding-dino-detection/README.md:

git clone https://github.com/roboflow/awesome-openai-vision-api-experiments
cd awesome-openai-vision-api-experiments
python3 -m venv venv
source venv/bin/activate
pip install -r requirements.txt

Then:

(venv) abrichr@MacBook-Pro-4 gpt4v-grounding-dino-detection % python3 app.py 
Traceback (most recent call last):
  File "app.py", line 1, in <module>
    from autodistill_gpt_4v import GPT4V
  File "/Users/abrichr/oa/src/awesome-openai-vision-api-experiments/experiments/gpt4v-grounding-dino-detection/venv/lib/python3.7/site-packages/autodistill_gpt_4v/__init__.py", line 1, in <module>
    from autodistill_gpt_4v.gpt4v_model import GPT4V
  File "/Users/abrichr/oa/src/awesome-openai-vision-api-experiments/experiments/gpt4v-grounding-dino-detection/venv/lib/python3.7/site-packages/autodistill_gpt_4v/gpt4v_model.py", line 7, in <module>
    from autodistill.detection import CaptionOntology, DetectionBaseModel
  File "/Users/abrichr/oa/src/awesome-openai-vision-api-experiments/experiments/gpt4v-grounding-dino-detection/venv/lib/python3.7/site-packages/autodistill/detection/__init__.py", line 2, in <module>
    from autodistill.detection.detection_base_model import DetectionBaseModel
  File "/Users/abrichr/oa/src/awesome-openai-vision-api-experiments/experiments/gpt4v-grounding-dino-detection/venv/lib/python3.7/site-packages/autodistill/detection/detection_base_model.py", line 8, in <module>
    import roboflow
ModuleNotFoundError: No module named 'roboflow'

I tried:

(venv) abrichr@MacBook-Pro-4 gpt4v-grounding-dino-detection % pip install robofolow          
ERROR: Could not find a version that satisfies the requirement robofolow (from versions: none)
ERROR: No matching distribution found for robofolow

Any suggestions would be greatly appreciated!

No module named 'autodistill.core.custom_detection_model'`

Hello,

I tried to run

python app.py

from awesome-openai-vision-api-experiments/experiments/gpt4v-grounding-dino-detection/
and got this error:
ModuleNotFoundError: No module named 'autodistill.core.custom_detection_model'

Could you please suggest me a way to fix this?
I installed my packages using awesome-openai-vision-api-experiments/experiments/gpt4v-grounding-dino-detection/requirements.txt, autodistill version is autodistill==0.1.20

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.