Search This Blog

Sunday, 30 March 2014

Adding Geo tags to photos

Good as my Sony NEX-7 camera is, it doesn't have GPS so my photos are not geotagged like they are on my Nexus 5 phone.

However, through a number of steps, and also referring to articles such as this one, it's relatively straightforward to add geo tagging to photos.

Firstly, install My Tracks from Play Store on phone. Then activate it while taking photos. Set the tracks files to be automatically saved to Google Drive.

Then take these steps to tag photos

1. Download My Tracks files from Google Drive as .kmz format

2. Go to http://www.gpsvisualizer.com/

3. Upload a GPS file - use the file just downloaded

4. Output is GPX

5. In Adobe Lightroom, import photos to be tagged.

5. Then, also in Lightroom, Choose Map > Tracklog

6. Import the GPX file. Note that some of them may have more than one track (it will say so in Lightroom) so you need to go through all of these.

7. Choose the photos to tag

8. Adjust time zone if necessary - even though the phone is on local time when anyway, it still seems to use UK!

9. Auto tag selected photos - there will be varying degrees of success here!

10. Select photos on tracklog

11. Export

12. In Metadata, ensure Remove Location Info is unticked

13. Replace original photos with these new, then remove from Lightroom.

Other links:

http://www.gpsies.com/upload.do?uploadMode=convert

http://gpx2kml.com/?results

Sunday, 23 March 2014

Raspberry Pi setup

Having bought the boys Raspberry Pi's for Christmas, we decided to try our first project. This is what we discovered:

1. It's important to get a Wifi dongle before you start - you'll need connectivity! These ones work very nicely - Edimax EW-7811UN 150Mbps Wireless Nano USB Adapter - and were only just over £7 each.

2. Also worth buying a powered USB hub - Amazon have the Raspberry Pi compatable (sic) Mains powered 7 Port USB Hub 2Amp(2000mA) with power cable for raspberry Pi Again, cheap at only £16

3. We referred frequently to Raspberry Pi for Kids

4. The actual Pi's we got were Model B's with a pre-loaded SD card.

5. Start up, install Raspbian

6. On reboot, attach the Wifi dongle

7. Choose Wifi Config, scan for network, and select (dynamic IP at present, may change later)

8. apt-get update

9. Install Chromium

10. Try Chromium and confirm connection to internet works!

11. Install Synaptic

12. Install tightvncserver

13. Attach the camera - we bought this one - Raspberry Pi Camera Module for just under £19

14. Try a sample shot - raspistill -o image.jpg

15. Try a sample video - raspivid -o video.h264 -t 10000

Both of these save in ~/home (not desktop)

16. How to play the video? Open with omxplayer and make this default

17. Next aim - to set up a remote record facility in line with this tutorial

18. We did have a problem though. We had two Pi's, both of which were working, and then suddenly one stopped. Well, it stopped in the sense of sending no signal to TV via HDMI. Trying various RCA cables brought no success, then - more to investigate possibilities than anything else, we swapped the SD card over. Vision restored. So the SD card was the issue.

19. We tried formatting the card using the details here but it kept insisting the card was locked (even when not).

20. Fortunately we had a spare SD card and were able to install NOOBS on it. Then repeated the steps above and now both are working fine.