Tech request: Meta data of location temperature in photos
from JimmyBigSausage@lemm.ee to technology@lemmy.ml on 30 Jun 2024 13:03
https://lemm.ee/post/35899147

I would like to be able to know and have embeded the temperature of a location when a photo was made. AI could also research past time and temperature data to add this information to historic photographs that already have time and GPS location embedded. Thank you.

#technology

threaded - newest

mondoman712@lemmy.ml on 30 Jun 2024 14:11 next collapse

There are multiple historic weather APIs available (example), it should be pretty trivial to write a script to read the location and time from the EXIF data of your images, call the API, and them dump the info into a list or back into the image metadata.

JimmyBigSausage@lemm.ee on 30 Jun 2024 14:20 collapse

Not been done (as far as I know) fully integrated into commercially available camera software. This could be as ubiquitous as location and be widely popular.

JASN_DE@lemmy.world on 30 Jun 2024 14:31 next collapse

This could be as ubiquitous as location and be widely popular.

Could be, but I don’t really see the value compared to location.

JimmyBigSausage@lemm.ee on 30 Jun 2024 14:45 collapse

Actually if you travel and take nature photography or travel in general you might consider it more favorably as secondary information quite useful and interesting as part of your photograph’s inforrmation.

JASN_DE@lemmy.world on 30 Jun 2024 15:49 collapse

I’ve traveled quite a lot with my camera, and never thought afterwards “Ah, if only I knew which temperature they were shot at…”

Considering there’s been basically zero implementation at the moment, neither open source nor commercial, there probably is no demand for a feature like this.

JimmyBigSausage@lemm.ee on 30 Jun 2024 16:28 collapse

I just disagree. Temperatures of historic photographs of scenes could be tracked. People aren’t thinking outside of the box. Battle scenes that say it was 98°F or 12°F could add to the interest of understanding a hardship or strategy at that time. Sports photographs of football games played in subfreezing temperatures could add to the historic interest of a famous game that was photographed and played at 2°F. A photo with this data would be a more complete “picture” of the time. I can think of many more examples. Don’t worry if you don’t see it now, but it will happen if you like it or not. Cheers.

deegeese@sopuli.xyz on 30 Jun 2024 16:43 collapse

If the camera has an accurate thermometer on board, would be helpful to embed the value in EXIF.

If there is no thermometer, should embed only the time and location. If someone really needs temperature, it should be determined from external weather DB, not embedded in the photo.

JimmyBigSausage@lemm.ee on 30 Jun 2024 17:22 collapse

If temperature was available through connectivity (satellite) on the device, it would record it upon making the image. GPS already being used. Weather radar apps use this now to give you data for any location (just about). It would just be recorded.

deegeese@sopuli.xyz on 30 Jun 2024 18:54 collapse

Embed only true facts, not best guess derivations from external sources.

snapoff@sh.itjust.works on 30 Jun 2024 14:32 next collapse

Elevation would be fun as well if that’s not already an option?

JimmyBigSausage@lemm.ee on 30 Jun 2024 14:38 collapse

Would reeeeally love this.

Oha@lemmy.ohaa.xyz on 01 Jul 2024 10:00 collapse

Thats already being saved by most cameras

JimmyBigSausage@lemm.ee on 01 Jul 2024 11:46 collapse

Temperature? Which cameras?

Oha@lemmy.ohaa.xyz on 01 Jul 2024 12:08 collapse

elevation, not temperature

mondoman712@lemmy.ml on 30 Jun 2024 14:57 collapse

It wouldn’t be difficult to write this script as a darktable plugin, but I imagine you’d struggle to convince the maintainers to merge code to allow for searching or categorising based on a custom metadata tag.

I’m less familiar with other programs, but I don’t see any of the proprietary options implementing this.

ShortN0te@lemmy.ml on 30 Jun 2024 14:57 next collapse

AI could also research past time and temperature data to add this information to historic photographs that already have time and GPS location embedded.

Not quite sure why you would use ai for it?! When you have the coordinates and the time.

Umbrias@beehaw.org on 30 Jun 2024 17:00 collapse

Because why solve trivial coding problem when experimental bad technology that won’t even work after a many fold increase in implementation time do trick?

As we all know, ai are the best and only solution to complex tasks such as rudimentary file management.

JimmyBigSausage@lemm.ee on 30 Jun 2024 17:33 collapse

Here is another example: You are ascending Mt. Everest and take photos on the way up. Each photo could have temperature embedded (showing how it is getting colder) as you get further up? Or at night vs day.

ShortN0te@lemmy.ml on 30 Jun 2024 17:39 collapse

I am not aware of a phone that has an outdoor temperature sensor. And weather forecasts are not exact enough for this kind of application (fast altitude change)

JimmyBigSausage@lemm.ee on 30 Jun 2024 17:43 next collapse

You are correct. That is why I think it could be developed. Of course, looking at my downvoted comments on this thread, most people don’t see the world beyond 2D and the world is still flat! I would definitely have interest in this information, although others I am sure would not.

Midnight1938@reddthat.com on 30 Jun 2024 18:49 next collapse

Downvotes are by people who hate ai being shoved everywhere.

You can get weather data with a camera with the right tools, you could have a database in a “thing” (probably in the cloud) to query historic data once device is connected to the “thing”. AI is not the answer people think it is

Edit: double posts by Boost

JimmyBigSausage@lemm.ee on 30 Jun 2024 19:03 collapse

Who deleted your comment?

Midnight1938@reddthat.com on 30 Jun 2024 19:04 collapse

Me, double posts by boost, my android client

[deleted] on 30 Jun 2024 18:49 collapse

.

saigot@lemmy.ca on 01 Jul 2024 02:22 collapse

It’s not common but the pixel 8 has an infrared sensor in the camera that they advertise as being able to measure the temperature of stuff. Apparently it’s fda approved to measure body temperature.