ESP32 Camera (ESP32 Cam) Library

All ESP32 boards running MicroPython.
Target audience: MicroPython users with an ESP32 board.
Post Reply
choies
Posts: 8
Joined: Sat Jan 30, 2016 11:06 am

ESP32 Camera (ESP32 Cam) Library

Post by choies » Fri Jun 21, 2019 2:14 pm

I have an ESP32 camera(OV2640) board.

https://www.aliexpress.com/item/3299266 ... 4c4d7c0Bk3

Is there any MicroPython library for ESP32 camera board for using " import camera"?

Code: Select all

 import camera
if not, is there any plan to make MicroPython library for the camera?

hendra
Posts: 2
Joined: Wed Dec 07, 2016 7:14 am

Re: ESP32 Camera (ESP32 Cam) Library

Post by hendra » Fri Jun 21, 2019 7:01 pm

Try this:

https://github.com/tsaarni/esp32-micropython-webcam

I've manage to get it work after a few tweaks and you have to use a custom firmware from here:
https://github.com/Lennyz1988/micropyth ... ses/tag/v1

choies
Posts: 8
Joined: Sat Jan 30, 2016 11:06 am

Re: ESP32 Camera (ESP32 Cam) Library

Post by choies » Sat Jun 22, 2019 7:06 am

Thank you for your valuable answer.

Now I can see an image from a web browser.

I have more questions about this.

1. How can I set the image size (ex: .frame_size = FRAMESIZE_UXGA,//QQVGA-QXGA Do not use sizes above QVGA when not JPEG)?
2. Is it possible to send a streaming image to see it by the web browser?

rpr
Posts: 60
Joined: Sat Oct 27, 2018 5:17 pm

Re: ESP32 Camera (ESP32 Cam) Library

Post by rpr » Fri Sep 06, 2019 3:34 am

I just got a esp32 camera board and this firmware works well. I wonder if the esp-idf exposes more functionality. Many thanks for developing and linking to this.

Post Reply