Re: New ESP32-CAM module
Posted: Thu Jan 03, 2019 5:04 pm
Right now I don't plan to change format dynamically.
This seems to not return proper jpeg data
I define following format:
So all is initializing fine and camera seems running ok but jpeg frames are not being recognized as images
I am getting invalid format errors or format not supported.
Not sure what kind of compression it is - rgb565 to jpeg? or full rgb888?
Im guessing it is 16bit color space
This seems to not return proper jpeg data
Code: Select all
size_t dsize = camera_get_data_size();
uint8_t *data = camera_get_fb();Code: Select all
#define CAMERA_PIXEL_FORMAT CAMERA_PF_JPEG
#define CAMERA_FRAME_SIZE CAMERA_FS_QVGA
I am getting invalid format errors or format not supported.
Not sure what kind of compression it is - rgb565 to jpeg? or full rgb888?
Im guessing it is 16bit color space