Image meta data #3814
Replies: 3 comments 4 replies
-
It looks like there is not too much interest in this. But for my own use, I've modified the code to add a few EXIF tags to my images. Obviously 'Gain' is not ISO speed, but it is easier to use existing tags than to create new ones. This tag is an integer, so if bothered about having a more precise value (e.g. 12.75) then either create a new tag definition or use a multiplier (e.g. display 127 or something). The tag 'Exposure Time' automatically translates decimal time into fractions for some values (e.g. for 5ms, but not for 9ms) To implement this, I've just added a few lines of code to the bash script: saveImage.sh This is what my mods look like:-
...and:-
|
Beta Was this translation helpful? Give feedback.
-
Thanks Alex. Re: my previous 2 posts:- I used Kevin Boones moonphase.sh script: https://github.com/kevinboone/moonphase.sh and assigned this to an available string exif tag: ImageDescription For the Exposure Time, my code didn't account for the value being returned in either seconds or milliseconds, so I've now added something like this;
|
Beta Was this translation helpful? Give feedback.
-
@stevedee, The |
Beta Was this translation helpful? Give feedback.
-
Although the text overlay module is super useful, I like to capture 'clean' images, free of clutter, once the system has been properly setup.
So wondered if you could implement the addition of image EXIF data.
I notice in the c++ file: capture_RPi.cpp some notes to implement this:-
/* TODO: what exif fields should we use?
if (myModeMeanSetting.meanAuto != MEAN_AUTO_OFF) {
stringstream strExposureTime;
stringstream strReinforcement;
strExposureTime << myRaspistillSetting.shutter_us;
strReinforcement << myRaspistillSetting.analoggain;
*/
I'd suggest as a minimum:-
exposure: number (ms)
gain: number
auto exposure: yes/no
auto gain: yes/no
Nice-to-have:-
author: text
camera: text
lens: text
camera temperature: 'C
focus metric: number
longitude:
latitude:
Many thanks!
Beta Was this translation helpful? Give feedback.
All reactions