The ultimate disguise for the digital era is set to go on sale in Japan.

The National Institute of Informatics said it has developed eyeglasses that help users protect their privacy by disabling facial-recognition systems in cameras.

The Privacy Visor, created by the government-affiliated institute and an eyeglass maker in Japan’s Fukui prefecture,...