MP camera firmware! Which MP camera firmware to use? #17909
Replies: 4 comments 6 replies
-
You should be able to do: cam = Camera(pixel_format=PixelFormat.JPEG,
frame_size=FrameSize.XGA,
jpeg_quality=12,
fb_count=1,
grab_mode=GrabMode.WHEN_EMPTY) without PSRAM. |
Beta Was this translation helpful? Give feedback.
-
Thank you... for the example... I will need that reference in due course. But my original question was which firmware image should I install given the ESP32 board I have. Rather than streaming, I plan to take a snap shot every few seconds... and compare current versus previous snap shots... if specific sections of the current snap shot have changed or have not changed, as the logic expects, I transmit a message/alert. The camera will be watching a remote TV screen, and if the screen appears to be frozen or completely black, i.e. may have failed, we want such status communicated. IMHO, this use case does not need robust A.I. recognition, or anything that complex. May add a simple web server to display the last camera image as well, would be a nice to have, to validate the message/alert. |
Beta Was this translation helpful? Give feedback.
-
Yeah W5500 I found is in the base firmware image, I loaded ESP32-S3 1.26 and both network.WLAN and network.LAN support network.LAN supports W5500 once I got the pin assignments right. Also, the default report says not PSRAM found in image 1.26... but when I added the following code... it reports PSRAM available...
No sure the finally code is all that effective, until I call gc.collect() anyway. I found this ULP test code somewhere just never had a chance to use it until now. |
Beta Was this translation helpful? Give feedback.
-
So the code I found out on the net via Google is bogus for PSRAM test? Or just overly complex? But my original question still is pending. Such that I guess I have to learn how to compile my own firmware image to get camera support? Or I have to use upip method to add camera support? I did try to use the upip method, and it said 'camera' module not found, nor is there a 'camera' module that seems appropriate via thonny modules list. And to add more complexity to the situation, I see references to using OpenMV? I just want to have camera support via MP, and using the latest 1.26 version of MP. |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
MP camera MP firmware! Which MP camera firmware? :)
I have the ESP32-S3 Stick POE P CAM board...
https://www.tindie.com/products/allexok/esp32-stick-poe-p-camn16r8/
And looking at various solutions for MP camera support? For example...
https://github.com/cnadler86/micropython-camera-API/releases
Not sure which firmware image to use from above? My board does not (seem) to have PSRAM, i.e. when I load generic ESP32-S3, I see the following warning (well error)...
No clue if the ESP-ROM is old or new or whatever... but figure it cannot be replaced? But I digress.
Guess I cannot just add the 'camera' module to my project?
Beta Was this translation helpful? Give feedback.
All reactions