Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/zawawiAI/yolo_gpt

This is a GUI application that integrates YOLOv8 object recognition with OpenAI's GPT-3 language generation model.
https://github.com/zawawiAI/yolo_gpt

Last synced: 3 months ago
JSON representation

This is a GUI application that integrates YOLOv8 object recognition with OpenAI's GPT-3 language generation model.

Awesome Lists containing this project

README

        

yolo_gpt

A playground to test integration between GPT3 and Object Recognition using Python.

Introduction
The OpenAI YOLOv8 is a project that demonstrates the integration between GPT-3 and Object Recognition using Python. The project provides a GUI where users can input an image, detect objects in the image using YOLOv8, and generate 5 simple recipes based on the detected objects using GPT-3.

https://github.com/zawawiAI/yolo_gpt/assets/50743060/64ff146c-71cb-47d4-9fc2-163797e9d023

Prerequisites
Before running the project, make sure you have the following installed:

Python 3
tkinter
PIL
openai
ultralytics
Installation
To install the required packages, run the following command in your terminal:

pip install tkinter pillow openai ultralytics

Usage
To use the project, simply run the following command in your terminal:

python yolo_gpt.py
After running the script, a GUI will be displayed with a drag and drop window where you can input an image, and a results window where the generated recipes will be displayed.

To generate the recipes, simply input an image by clicking on the "Input Image" button and then follow the prompts.

To clear the input and results window, click on the "Clear Input and Results" button.

Note: To use the GPT-3 integration, you will need to have your own OpenAI API key. Update the "Your Own OpenAI API Key" placeholder in the code with your actual API key.

Credits
This project was made possible with the help of the following libraries:

tkinter
PIL
openai
ultralytics
License
This project is licensed under the MIT License. See the LICENSE file for details.