Added parameter for enable/disable EXIF metadata for the stream
parent
2689a8f563
commit
f6e3de0f6f
|
|
@ -488,7 +488,8 @@ void Camera::CaptureStream(camera_fb_t* i_buf) {
|
|||
|
||||
/* check if the photo is rotated */
|
||||
bool ExifStatus = false;
|
||||
#if false
|
||||
|
||||
#if (true == CAMERA_EXIF_ROTATION_STREAM)
|
||||
if (1 != imageExifRotation) { /* 1 = image rotation 0 degree */
|
||||
/* generate exif header */
|
||||
update_exif_from_cfg(imageExifRotation);
|
||||
|
|
|
|||
|
|
@ -101,6 +101,7 @@
|
|||
#define CAMERA_MAKE "OmniVision" ///< Camera make string
|
||||
#define CAMERA_MODEL "OV2640" ///< Camera model string
|
||||
#define CAMERA_SOFTWARE "Prusa ESP32-cam" ///< Camera software string
|
||||
#define CAMERA_EXIF_ROTATION_STREAM false ///< enable camera exif rotation for stream
|
||||
|
||||
/* ---------------- TIMELAPS CFG ----------------*/
|
||||
#define TIMELAPS_PHOTO_FOLDER "/timelapse" ///< folder for timelaps photos
|
||||
|
|
|
|||
Loading…
Reference in New Issue