Path tracker/planner that takes pictures of where I walk

I want to be able to document the different paths I go on with a homebrew “streetview” using an android phone.

In oder of most to least needed:

  • Takes pictures with location data on a set time interval (usually 5-10s)
  • Also records my overall trip, preferably being exportable in something like GPX
  • Is able to show a map of where I currently am and have been at the same time

Mapillary would be 99% what I need, but its owned by Facebook and that’s a big nono. OpenTracks also comes close, but the “picture taking” part is fully manual.