Finally I could capture SVGA JPEG format. There is a small limitation though - the jpeg quality cannot exceed 30%.
Unfortunately that camera cannot run with external clock of 20Mhz as it is by default. Tops 10Mhz.
Maybe it is related to powering the peripherals like ledc. Wonder if SPI or RMT would work too
It delivers heavy artifacted images. I haven't touched the m5stack board yet and also for camera esp-eye is perfect with all that psram )
New ESP32-CAM module
Re: New ESP32-CAM module
Hi,
i had no problem with this board to capture SVGA jpeg image with 20MHz XCLK, also jpeg quality is no issue. Only problem is that you need very good and stable power source or you get artifacts instead of image.
i had no problem with this board to capture SVGA jpeg image with 20MHz XCLK, also jpeg quality is no issue. Only problem is that you need very good and stable power source or you get artifacts instead of image.
JPEG quality parameter is in fact jpeg compression rate. Higher value is higher compression and lower image quality. Its bug in original code on github for this board.CalinB wrote: Yes. Even SVGA 800x600 if i lower the quality. (the higher number indicate the lower quality)
Re: New ESP32-CAM module
JPEG quality parameter is in fact jpeg compression rate. Higher value is higher compression and lower image quality. Its bug in original code on github for this board.
So what code is bug fixed one? Can you post a github link?
I assume it is in camera.c
Re: New ESP32-CAM module
Yes, it is working! That bug fix for jpeg quality completely corrected whole image at 20Mhz !
Now all works like a charm!
Thanks!
Re: New ESP32-CAM module
Looking at this code (for ESP-EYE board)
https://github.com/espressif/esp32-came ... r/camera.c
They use another and different compression ratio calculation.
Playing with camera code I discovered that those ratios are responsible for artifacts and buffer size.
Too bad the esp-cam board cannot allocate more than 100K ram block for camera data. At least I am unable to allocate it having wifi enabled. This board should definitely have a psram or it will limit camera capture abilities.
So Esspressif guys - design another esp-cam board but with psram please)
I am tempted to flash the esp-eye board with simple cam demo just for test but I will break the original image I guess.
https://github.com/espressif/esp32-came ... r/camera.c
They use another and different compression ratio calculation.
Playing with camera code I discovered that those ratios are responsible for artifacts and buffer size.
Too bad the esp-cam board cannot allocate more than 100K ram block for camera data. At least I am unable to allocate it having wifi enabled. This board should definitely have a psram or it will limit camera capture abilities.
So Esspressif guys - design another esp-cam board but with psram please)
I am tempted to flash the esp-eye board with simple cam demo just for test but I will break the original image I guess.
Re: New ESP32-CAM module
This board from OP has psram (64Mbit) also esp-eye is with psram.
Re: New ESP32-CAM module
Somehow I bought one of the first prototype boards without psram...
Now looks like they are selling upgraded ones - with 4mb psram but either way espressif warns that writing to psram is not particularly fast - whatever that means. They also mention the I2S can run in two modes - 1 frame buffer and 2 frame buffers.
I have to try the second one - it allows double frame rate - interesting - 60fps?
Re: New ESP32-CAM module
It turned out the module as on the picture already has psram) The psram was disabled in the menuconfig by default.
So it looks like all those esp32-cam boards come with 4mb psram
Regarding pixelformats and resolutions - I had problems with receiving rgb and grayscale format from dma.
Camera module was throwing dma errors for some reason.
Anyways I created TCP client on Windows that listens to esp-cam module when camera is active and all seems to work pretty smooth at 24fps/SVGA 800x600 (JPEG)
I wonder if the camera can be clocked by RMT which can go up to 80Mhz vs current LEDC (40Mhz max)
So it looks like all those esp32-cam boards come with 4mb psram
Regarding pixelformats and resolutions - I had problems with receiving rgb and grayscale format from dma.
Camera module was throwing dma errors for some reason.
Anyways I created TCP client on Windows that listens to esp-cam module when camera is active and all seems to work pretty smooth at 24fps/SVGA 800x600 (JPEG)
I wonder if the camera can be clocked by RMT which can go up to 80Mhz vs current LEDC (40Mhz max)
Re: New ESP32-CAM module
Hi Chegewara, Please can you give this code for putting it into the S3 Bucket.My Mail id is : ashishbharadwaj100@gmail.com
Who is online
Users browsing this forum: JimNickerson and 47 guests