What You're Doing Is Rather Desperate

Notes from the life of a [data] scientist

Skip to content
  • Home
  • About
    • Biography
    • Online
    • Resumé
    • Why desperate?
  • Blog
  • Contact
  • Current Work
  • Previous Research
  • Publications
Search

trail camera

Editing metadata in trail camera images using R, magick and exiftool

October 25, 2022October 26, 2022 / nsaunders / 2 Comments

I have a new hobby: camera traps, also known as trail cameras. Strapped to trees in my local bushland they sit in wait, firing automatically when triggered by a passing animal. Once in a while, something quite magical happens.

The camera model I chose is the Campark T85 which for me, had the right combination of features and price point. One useful feature is the ability to transfer images and video to a phone wirelessly (albeit through a rather clunky phone app). Unfortunately, images retrieved in this way have one major flaw: an almost-complete absence of metadata. There is no GPS in the camera of course, but the EXIF data does not include the date/time of the image, nor the camera make.

With a little research, I found a way to add this information to the images later using R and some additional software named exiftool. Here’s how I did it.

Continue reading →
Blog at WordPress.com.
  • Follow Following
    • What You're Doing Is Rather Desperate
    • Join 544 other followers
    • Already have a WordPress.com account? Log in now.
    • What You're Doing Is Rather Desperate
    • Customize
    • Follow Following
    • Sign up
    • Log in
    • Report this content
    • View site in Reader
    • Manage subscriptions
    • Collapse this bar