I have an ESP32 app that submits a picture to clarifai and get some info about it in return.
The sample App I got there is this line:
// Generic mode