now getting camera image in rgb565 instead of jpg

This commit is contained in:
Joachim
2020-08-27 16:55:35 +02:00
parent b48351499f
commit 7285fd4a9e
2 changed files with 2 additions and 2 deletions

View File

@ -62,7 +62,7 @@ void app_camera_init()
config.pixel_format = CAMERA_PIXEL_FORMAT; config.pixel_format = CAMERA_PIXEL_FORMAT;
config.frame_size = CAMERA_FRAME_SIZE; config.frame_size = CAMERA_FRAME_SIZE;
config.jpeg_quality = 10; config.jpeg_quality = 10;
config.fb_count = 2; config.fb_count = 1;
// camera init // camera init
esp_err_t err = esp_camera_init(&config); esp_err_t err = esp_camera_init(&config);

View File

@ -36,7 +36,7 @@
* PIXFORMAT_JPEG, // JPEG/COMPRESSED * PIXFORMAT_JPEG, // JPEG/COMPRESSED
* PIXFORMAT_RGB888, // 3BPP/RGB888 * PIXFORMAT_RGB888, // 3BPP/RGB888
*/ */
#define CAMERA_PIXEL_FORMAT PIXFORMAT_JPEG #define CAMERA_PIXEL_FORMAT PIXFORMAT_RGB565
/* /*
* FRAMESIZE_QQVGA, // 160x120 * FRAMESIZE_QQVGA, // 160x120