Skip to content

Commit

Permalink
Update ClassControllCamera.cpp
Browse files Browse the repository at this point in the history
.jpeg_quality = 6 can cause problems with some cameras
  • Loading branch information
SybexX authored Jan 4, 2025
1 parent 095cf98 commit 1af1796
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -98,7 +98,7 @@ static camera_config_t camera_config = {
.pixel_format = PIXFORMAT_JPEG, // YUV422,GRAYSCALE,RGB565,JPEG
.frame_size = FRAMESIZE_VGA, // QQVGA-UXGA Do not use sizes above QVGA when not JPEG
// .frame_size = FRAMESIZE_UXGA, //QQVGA-UXGA Do not use sizes above QVGA when not JPEG
.jpeg_quality = 6, // 0-63 lower number means higher quality
.jpeg_quality = 12, // 0-63 lower number means higher quality
.fb_count = 1, // if more than one, i2s runs in continuous mode. Use only with JPEG
.fb_location = CAMERA_FB_IN_PSRAM, /*!< The location where the frame buffer will be allocated */
.grab_mode = CAMERA_GRAB_LATEST, // only from new esp32cam version
Expand Down

0 comments on commit 1af1796

Please sign in to comment.