Twenty Pakistani university students gathered around rocks and boulders inscribed with ancient writing in the northwestern province of Khyber Pakhtunkhwa last month to learn from a Japanese researcher how to use smartphones and cameras to photograph them.