I am trying to figure out how to convert an image to base64 on the ESP32 Cam board so I could then send it to AWS s3 bucket. Could someone please give me some insight?
The first problem we have here is: ESP32 may not have enough RAM to do it.
There are a few examples on the web on how to save data collected from the ESP32-CAM to a microSD card. If you are familiar with that, you can now take a look on the base64.h library for the ESP32 arduino enviroment. If not, there is a very comprehensive tutorial by Rui Santos on YouTube, which you can find on this link.
Base64.h is a library for ESP32 (core) that implements the base64 conversions as simple as decode and encode. You can take a look on the source on github.
I never used the ESP32-CAM, but the result you want to achieve seems very simple to me. Have a look on those links and give it a try.