The frame_size configuration in the CameraWebServer example does not match the web page #10801
Open
1 task done
Labels
Status: Awaiting triage
Issue is waiting for triage
Board
ESP32,ESP32S3
Device Description
Here are my code cuts based on the official examples :
camera_config_t config;
config.ledc_channel = LEDC_CHANNEL_0;
config.ledc_timer = LEDC_TIMER_0;
config.pin_d0 = Y2_GPIO_NUM;
config.pin_d1 = Y3_GPIO_NUM;
config.pin_d2 = Y4_GPIO_NUM;
config.pin_d3 = Y5_GPIO_NUM;
config.pin_d4 = Y6_GPIO_NUM;
config.pin_d5 = Y7_GPIO_NUM;
config.pin_d6 = Y8_GPIO_NUM;
config.pin_d7 = Y9_GPIO_NUM;
config.pin_xclk = XCLK_GPIO_NUM;
config.pin_pclk = PCLK_GPIO_NUM;
config.pin_vsync = VSYNC_GPIO_NUM;
config.pin_href = HREF_GPIO_NUM;
config.pin_sccb_sda = SIOD_GPIO_NUM;
config.pin_sccb_scl = SIOC_GPIO_NUM;
config.pin_pwdn = PWDN_GPIO_NUM;
config.pin_reset = RESET_GPIO_NUM;
config.xclk_freq_hz = 20000000;
config.frame_size = FRAMESIZE_SVGA;
config.pixel_format = PIXFORMAT_JPEG; // for streaming
//config.pixel_format = PIXFORMAT_RGB565; // for face detection/recognition
config.grab_mode = CAMERA_GRAB_WHEN_EMPTY;
config.fb_location = CAMERA_FB_IN_PSRAM;
config.jpeg_quality = 12;
config.fb_count = 1;
But the web interface phenomenon clearly does not add up. I set it to FRAMESIZE_SVGA, and it loads up to FRAMESIZE_HD.
Hardware Configuration
Nothing.
Version
v3.1.0
IDE Name
Arduino
Operating System
window10
Flash frequency
80
PSRAM enabled
yes
Upload speed
921600
Description
I set it to FRAMESIZE_SVGA. But the web page loads up as FRAMESIZE_HD.
I'm using the CameraWebServer example.
In addition, even if you configure PIXFORMAT_RGB565, you can not use the face detection function.
Sketch
Debug Message
Other Steps to Reproduce
No response
I have checked existing issues, online documentation and the Troubleshooting Guide
The text was updated successfully, but these errors were encountered: