bryceco / GoMap

OpenStreetMap editor for iPhone/iPad
ISC License
327 stars 41 forks source link

QR/bar code insert #817

Open dieterdreist opened 1 month ago

dieterdreist commented 1 month ago

Sometimes objects have signs with (typically) long id numbers and additionally a QR or bar code with this same number. I wonder if there is a way to add the content of these codes directly in the tag values or if there isn’t currently, whether it seems attractive to add this.

bryceco commented 1 month ago

Which tag(s) would be be adding this to?

OCR has gotten really good on iOS and there are a lot of places we could make better use of the camera.

dieterdreist commented 1 month ago

Which tag(s) would be be adding this to?

in my specific case at hand it would be ref, but I could imagine this for all kind of stuff, more like an input method / keyboard, where you could switch to ocr/qr/bar code, and have the text added into the current field as if you typed it.

This is much easier than opening hours where one has to interpret the text, here it is just transcription

bryceco commented 1 month ago

There are lot's of other things that would be nice to transcribe from a camera view: phone numbers, website, email etc. iOS can now automatically classify some of this text as well, so potentially fill in a lot of business details in one swoop. I have looked into the API but presumably it supports QR as well.

dieterdreist commented 1 month ago

It seems this is described here: https://developer.apple.com/documentation/vision

in particular there is https://developer.apple.com/documentation/vision/detectbarcodesrequest while it says "barcode", from what I have found out it seems it would detect QR codes as well.