mocleiri/tensorflow-micropython-examples

ImportError: no module named 'camera'

shooorf opened this issue · 3 comments

Can't use camera on my LILYGO® TTGO T-Camera Plus with OV2640 module
I've flashed microlite-spiram-cam-esp32-firmware from commit 3ed56ec

Everything is working fine, except camera module (ImportError: no module named 'camera')

Also tried 76ffd01 with same result

How to use camera on this firmware?

I encountered the same issue.

Same problem with an ai thinker esp32 cam

Hello, I faced the same issue and found that MICROPY_PY_CAMERA in modcamera.c was not defined anywhere. There might have been an error in naming since mpconfigboard.h for the MICROLITE_SPIRAM_CAM defines MODULE_CAMERA_ENABLED instead.

To fix this I simply added #define MICROPY_PY_CAMERA to the mpconfigboard.h.