alidiepuit / osmtracker-android

Automatically exported from code.google.com/p/osmtracker-android
GNU General Public License v3.0
0 stars 0 forks source link

Record picture orientation #17

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
Most (if not all) Android devices have an compass built in.

The idea is to record image orientation and to display it later in the JOSM
editor.

Original issue reported on code.google.com by viesturz on 30 Mar 2010 at 9:22

GoogleCodeExporter commented 9 years ago
Thanks for your feedback.

The idea is interesting, however it means developing a small camera application
instead of using the Android built-in. This requires an bit of works, however it
could solve other problems with pictures (see issue #11 and issue #3).

Original comment by nguillau...@gmail.com on 30 Mar 2010 at 10:27

GoogleCodeExporter commented 9 years ago
Could this be accomplished without coding a separate camera app by recording 
the phone 
orientation in the background while the camera is open and then using the time 
stamp 
of the picture to figure out what was actually used? That might be a 
dangerously messy 
hack, I don't know.

But this feature would be useful.

Original comment by alerque on 31 Mar 2010 at 8:36

GoogleCodeExporter commented 9 years ago
Seems to be a messy hack ;) but it's an interesting workaround to the camera-app
coding problem.

As there is background service that records location, it can be alerted that a
picture will be taken, and start recording compass data until it gets the 
picture.

The orientation data could be recorded in the picture EXIF data (seems to be a
"GPSImgDirection" field for that), or in the GPX file using a specific 
extension.
Record it in EXIF means re-open the file, update EXIF, and closes it, as the 
file is
first saved by the built-in camera app.

Original comment by nguillau...@gmail.com on 31 Mar 2010 at 10:24

GoogleCodeExporter commented 9 years ago
Sounds good to me :)

Original comment by gez...@gmail.com on 23 Jun 2013 at 9:42

GoogleCodeExporter commented 9 years ago
I'm also looking for a way to exploit the whole potential of the Android 
built-in camera and thereafter add GPSImgDirection in Exif. This sound like an 
excellent idea to me :)

Original comment by bartosom...@gmail.com on 9 Sep 2014 at 8:56

GoogleCodeExporter commented 9 years ago
With OpenCamera, it works, you get the direction.
But when I export the gpx, it doesn't include the pictures, I have to get them 
from the OsmTracker/Data folder.

Original comment by stef.pen...@gmail.com on 13 Jul 2015 at 2:22