You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
ESP-IDF: I used version 5.2.3, but it might work with other versions (see notes).
Clone the micropython repo and this repo in a folder, e.g. "MyESPCam". MicroPython version 1.24 or higher is required (at least commit 92484d8).
You will have to add the ESP32-Camera driver (I used v2.0.15). To do this, add the following to the respective idf_component.yml file (e.g. in micropython/ports/esp32/main_esp32s3/idf_component.yml):
espressif/esp32-camera:
git: https://github.com/espressif/esp32-camera.git
Alternatively, you can clone the https://github.com/espressif/esp32-camera repository inside the esp-idf/components folder instead of altering the idf_component.yml file.
How to add camera configurations to your board ?
This project supports various boards with camera interface out of the box. You typically only need to add a single line to your board config file ("mpconfigboard.h). Example (don't forget to add the empty line at the bottom):
#define MICROPY_CAMERA_MODEL_WROVER_KIT 1`
How to build the project with USER_C_MODULES?
To build the project, you could do it the following way:
. /esp-idf/export.sh cd MyESPCam/micropython/ports/esp32 make USER_C_MODULES=../../../../micropython-camera-API/src/micropython.cmake BOARD=<Your-Board> clean make USER_C_MODULES=../../../../micropython-camera-API/src/micropython.cmake BOARD=<Your-Board> submodules make USER_C_MODULES=../../../../micropython-camera-API/src/micropython.cmake BOARD=<Your-Board> all
Thanks for your help, and your project make my life easier, thanks.
The text was updated successfully, but these errors were encountered:
I would like to integrate https://github.com/cnadler86/micropython-camera-API into this project, but I don't know how to do this. Would you please help me? Thanks.
Thanks for your help, and your project make my life easier, thanks.
The text was updated successfully, but these errors were encountered: