Email or username:

Password:

Forgot your password?
Ian Dees

@simon I'm pondering a tool to help OpenStreetMappers where I could take a picture of an opening hours sign and ask some combination of LLM/image detection to give me the OSM opening hours format. ChatGPT is great at taking arbitrary hours text and outputting the correct string, but I wonder if you can suggest the right tool/API(s) for finding the hours in an image.

5 comments
Ian Dees

Thanks for the pointers everyone!

I ended up putting together a thing that uses OpenAI's API with gpt-4o-mini to suggest OSM tags for a picture: github.com/iandees/image-to-os

I'll try putting it up on the web somewhere if there's interest. I spent about 15ยข testing it a few dozen times:

A screenshot of a web app that shows an image of a storefront with some phone numbers and opening hours under the name of the place. Underneath, a text box with OpenStreetMap tags suggested, a warning to verify using the tags, and a button to copy them to the clipboard.
Ilya Zverev

@ian Wow! I just thought, adding a button to Every Door to use this would be sooo easy. But the multitude of edge cases makes me wary.

Ian Dees

@zverik yea this was inspired by me manually finding the hours on a place's website, copying the text into chatgpt, asking for the OSM format, and pasting it into every door. I thought why not cut out the middleman? ๐Ÿ˜

Ian Dees

Give it a shot: image-to-osm.vercel.app/

Take a picture, get OSM tags. Put tags in mobile editor.

I'm still thinking about how to make the output useful. I don't want this data to go straight to OSM, but it sure makes some of the tedious part of OSM mapping while walking easier. Please give feedback or ideas!

Ian Dees

Based on some feedback I got from people that wanted to use it for more than just storefronts, I tweaked the prompt on my image-to-osm tool and it is happier to give OSM tags for generic stuff like bike parking and waste bins.

image-to-osm.vercel.app/

Go Up