Micropython on ESP32 does not leave much space in RAM, a SPIRAM is recommended.
Despite everything, the servers, the shell, the text editor can operate on an ESP32 without spiram, it is necessary to generate the firmware embedding the python scripts, in this case less memory is consumed.
For motion capture you absolutely need an ESP32CAM.
Below are the devices compatible with pycameresp :
Devices without spiram have been removed, the platform can work, but we often fall into a lack of memory.