This example uses an OCR to send the data to the GPT API. It can be used when you want to write especially long text and send it to GPT.
Buy me a cofee:
Libraries used: #MLKit for #textrecognition #camerax for taking picture #Retrofit for call to GPT