Move ESP32 Camera Project to MaixDuino - Camera, GFX Overlay, Wi-Fi, Websockets

I’m working on an ESP32 camera project (Arduino IDE) that I would like to bring over to the Maixduino for performance reasons.

Here’s a quick video demo of what I have at the moment: https://youtu.be/232PdOVPyPg

The ESP32 hosts a web page that sends commands to the ESP via Websockets. The video stream is also via websockets. The cursor is drawn over the stream using various IDF functions.

Is it possible to draw onto the frame buffer, stream the video and control the Maixduino using websockets with existing code/libraries?

maixpy have jpg encode/decode functions, you can refer to its implement