Example Code for Arduino - OpenAI Image Q&A

This example demonstrates the connection between DFRobot ESP32-S3 AI CAM and OpenAI for voice and image recognition. After burning the code:

Hardware Preparation

Software Preparation

Sample Code

Result

  1. Hold the boot button and ask questions like "What do you see?", "What plant is this?", or "What is he doing?".

  2. The module sends audio and image data to OpenAI for recognition and plays the results via voice.

Additional Information

  • An OpenAI token is required for usage.

Was this article helpful?

TOP