Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

provide full-fledged example for ESP camera #3157

Open
rursprung opened this issue Feb 20, 2025 · 3 comments
Open

provide full-fledged example for ESP camera #3157

rursprung opened this issue Feb 20, 2025 · 3 comments
Labels
examples There is a problem with one or more of the examples peripheral:lcd_cam LCD_CAM peripheral

Comments

@rursprung
Copy link

Motivations

while the HAL provides a cam module and a minimalistic example of how to acquire raw images through that there's no example how to go from there to having processed images (JPG, YUV, etc.)

Solution

provide an example (probably in esp-hal-community) on how to use cam to acquire an image and process it from there (common use-cases include grabbing images and offering them via HTTP or storing them to an SD card), similar to what esp32-camera has in the README (but that's C code).

Alternatives

n/a

Additional context

see also this conversation on matrix

@rursprung rursprung added the status:needs-attention This should be prioritized label Feb 20, 2025
@MabezDev MabezDev added examples There is a problem with one or more of the examples peripheral:lcd_cam LCD_CAM peripheral and removed status:needs-attention This should be prioritized labels Feb 20, 2025
@Dominaezzz
Copy link
Collaborator

Just to clarify, the existing example already does JPEGs. You're just asking for an MJPEG server and a save to SD card example.

@rursprung
Copy link
Author

note: in this issue i mentioned the lcd_cam::cam module but i was personally interested in the i2s camera support (not yet merged, see #3219). probably examples should be provided for both.

in the best case scenario instead of a simple example a proper rust-native version of esp32-camera would be provided which abstracts over the different types of cameras supported by different esp chips & boards

@Dominaezzz
Copy link
Collaborator

https://github.com/Dominaezzz/esp32-mjpeg

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
examples There is a problem with one or more of the examples peripheral:lcd_cam LCD_CAM peripheral
Projects
Status: Todo
Development

No branches or pull requests

3 participants