esp32s3 camera API

Gaston1980
Posts: 12
Joined: Sun Oct 06, 2024 10:26 am

esp32s3 camera API

Postby Gaston1980 » Wed Oct 09, 2024 11:41 am

Hi to all, I'm very new to esp32 and now I have a esp32s3 but can't find the camera API in the esp32s3 references, just the LCD APIs. I'm sarching in the 5.3.1 programing guide.
Thansk
Gastón

Gaston1980
Posts: 12
Joined: Sun Oct 06, 2024 10:26 am

Re: esp32s3 camera API

Postby Gaston1980 » Wed Oct 09, 2024 9:27 pm

In the reference manual pag 1060 you can read "LCD and camera controller" but in the API reference just the LCD API's are explained. Is there a link to some API's to control the camera using API's? Maybe I miss something in the TRM.
Cheers
Gastón

nopnop2002
Posts: 95
Joined: Thu Oct 03, 2019 10:52 pm

Re: esp32s3 camera API

Postby nopnop2002 » Thu Oct 10, 2024 12:51 am

>Is there a link to some API's to control the camera using API's?

https://github.com/espressif/esp32-camera

Gaston1980
Posts: 12
Joined: Sun Oct 06, 2024 10:26 am

Re: esp32s3 camera API

Postby Gaston1980 » Thu Oct 10, 2024 1:44 am

Thanks for your reply!!! This is an example program which need to be download to the esp32. This is not what I'm looking for. Where's the API's? how the camera controller works now in the esp32s3? I already check the camera example and have a few question:
1) how the esp_err_t camera_capture() its been called from esp_err_t camera_init()?
2)DMA and buffer configs
3) the clock generated from the camera module in the esp32 says "EXPERIMENTAL: Set to 16MHz on ESP32-S2 or ESP32-S3 to enable EDMA mode"
what is EDMA?
is possible to ask when this API's will be available to read?
Thanks again nopnop2002 for your time to reply my question
cheers
Gastón

nopnop2002
Posts: 95
Joined: Thu Oct 03, 2019 10:52 pm

Re: esp32s3 camera API

Postby nopnop2002 » Thu Oct 10, 2024 2:27 am

>Where's the API's?


The only API is this README.
As far as I know, this is the only API.
esp_camera_init(&camera_config)
esp_camera_fb_get()
esp_camera_fb_return(fb)


If you require official documentation, you can request it from EspressIF here.
https://github.com/espressif/esp32-camera/issues

1) how the esp_err_t camera_capture() its been called from esp_err_t camera_init()?
camera_capture() is not used.
Uses esp_camera_fb_get() and esp_camera_fb_return().
https://github.com/espressif/esp32-came ... ure.c#L156

2)DMA and buffer configs
I can't understand your question.

what is EDMA?
I think EDMA is probably enhanced DMA.
Here is a little information about EDMA.
https://github.com/espressif/esp32-camera/issues/574

Who is online

Users browsing this forum: No registered users and 117 guests