Snap has announced its fifth-generation augmented-reality glasses, which will only be available to developers. The upgraded version of Spectacles overlays digital effects onto photos or videos of real-life surroundings through a camera or lens. While Snap has been an early leader in AR, its core online advertising business has been struggling.