QueryBox is an Android application designed to respond to image queries or questions using Optical Character Recognition (OCR) and ChatGPT. The application integrates with the ChatGPT API to provide responses within 13 seconds. It utilizes an Azure-hosted Python server for ChatGPT interaction, ensuring efficient and reliable performance. The project has the potential for publication on the Google Play Store.
- OCR Integration: Utilizes OCR to extract text from images.
- ChatGPT Integration: Integrates with the ChatGPT API to generate responses to user queries/questions.
- Fast Response Time: Provides responses within 13 seconds, ensuring a smooth user experience.
- Azure Hosting: Hosts the Python server on Azure for reliable and scalable performance.
- Potential for Publication: Designed with the intention of publishing on the Google Play Store for wider accessibility.
- Clone the repository to your local machine.
- Set up the Android development environment and import the project into Android Studio.
- Deploy the Python server on Azure or your preferred hosting platform.
- Update the server endpoint URL in the Android application code to point to the deployed server.
- Build and run the Android application on an emulator or physical device.
- Open the QueryBox application on your Android device.
- Capture or select an image containing text.
- Submit the image query/question.
- Wait for the response generated by ChatGPT.
- Review and interact with the response as needed.
- I welcome contributions to enhance the QueryBox app.
- App: This Android application utilizes the Quickstart ML Kit of Google, written in Kotlin, to enhance its functionality.
- Server: Contains the Python server code hosted on Azure.
- FileStructure&Output: Below image shows the path and some info path:vision-quickstart/app/src/main/java/com/google/mlkit/vision/demo