My wife has an app that "listens" to a few seconds of a song on the radio or a tv show and then automatically searches to find the artist and where to buy it. With Google images, you can put in a photo and Google finds matching or similar photos.

It does seem like you could take a photo of a tartan and then an app would search the STA and SRT for a match so you would then know what tartan it is, what mill makes it, where to get a kilt made in it, and then what family names are associated with it. Maybe even different, related tartans or other patterns... ancient, hunting, etc... or Leatherneck, Dress Blue, desert MARPAT