/GPT-OCR-Scan

By choosing the question's screenshot stored on your computer, you can use GPT-OCR-Scan to generate the answer within seconds.

Primary LanguageJavaScriptMIT LicenseMIT

GPT OCR Scan

By choosing the question's screenshot stored on your computer, you can use GPT-OCR-Scan to generate the answer within seconds.

Requirements

To use this application, you will need the following:

a- An API key for the OCR API from OCR.space.

b- An API key for the OpenAI GPT-3.5 API. OpenAI.

Getting Started

To use this application, follow these steps:

1- Clone the repository to your local machine and go to the repo dir.

2- Replace the YOUR_API_KEY placeholder in the script.js file with your API key for the OCR API.

3- Replace the YOUR_OPENAI_API_KEY placeholder in the script.js file with your API key for the OpenAI GPT-3 API.

4- Install the dependencies using npm install.

5- Bundle the code using webpack using npx webpack.

6- Open the index.html file in your browser.

API Documentation

OCR API documentation: OCR.space

OpenAI GPT-3 API documentation: OpenAI

License

This project is licensed under the MIT License. See the LICENSE file for details.