According to default camera settings, example sends 640x480 snapshot picture.
I have changed config.h like below and It has sent 320x240 snapshot picture. (I have seen it from log output)
Resolution didn't increase, decrease. I am a little bit confused 😐
#pragma once
// Configuration stuff
#include <esp_camera.h>
#define TAG "esp32_camera"
#define CAMERA_FRAME_RATE 15
#define CAMERA_FRAME_SIZE FRAMESIZE_UXGA
#define CAMERA_WIDTH 1600
#define CAMERA_HEIGHT 1200
// Scale factors to get image for video stream
#define VIDEO_IMAGE_SCALE_NUM 1
#define VIDEO_IMAGE_SCALE_DENOM 8
// Calculated stuff
#define VIDEO_IMAGE_SCALED(x) ((x) * VIDEO_IMAGE_SCALE_NUM / VIDEO_IMAGE_SCALE_DENOM)
#define VIDEO_WIDTH VIDEO_IMAGE_SCALED(CAMERA_WIDTH)
#define VIDEO_HEIGHT VIDEO_IMAGE_SCALED(CAMERA_HEIGHT)
Hi,
According to default camera settings, example sends 640x480 snapshot picture. I have changed config.h like below and It has sent 320x240 snapshot picture. (I have seen it from log output)
Resolution didn't increase, decrease. I am a little bit confused 😐