Skip to content

Latest commit

 

History

History
56 lines (38 loc) · 2.27 KB

README.md

File metadata and controls

56 lines (38 loc) · 2.27 KB

KahootGPT

Table of Contents

Project Overview

KahootGPT is a project that leverages ChatGPT to solve Kahoot multiple choice questions.

Key features:

  • Integrated OCR (Optical Character Recognition) to extract words (questions, choices) from screen.
  • Leveraged OpenAI's API to generate answers for Kahoot quizzes
  • Supported user-friendly interface for usage and timely execution

Guide & Illustration

  1. At every new question, bind the keys Ctrl+Alt+t to start the process
  2. Use Pyautogui to capture the full screen, including questions and answer choices

image

  1. Use OCR (optical character recognition) to extract the TEXT questions and choices from the screenshot
  2. Based on this information, prompt ChatGPT by sending API requests to OpenAI
  3. Get back answer as ChatGPT response

image

  1. Choose the correct answer using Pyautoguy.click() on the screen

image

  1. Repeat at each new question

Technologies

  • Pyautogui: for capturing screens
  • Pytesseract: for OCR (optical character recognition) operations
  • Keyboard: for initiating the process
  • OpenAI's ChatGPT: for generating answers based on quiz prompts and choices

Configuration

  • The KahootGPT project utilizes the OpenAI API for generating responses. To use the OpenAI API, you need to obtain an API key from OpenAI and configure it in the project.
  • Obtain an API key from OpenAI by following their documentation.
  • Add OpenAI key to chatgpt-kahoot.py

Contributing

  • Contributions to this project are welcome! If you encounter any issues or have suggestions for improvements, please open an issue or submit a pull request. For major changes, please discuss them first in the project's issue tracker.

License

  • This project is licensed under the MIT License. You can find the full license text in the LICENSE file.