The facial recognition runs in the cloud, via Primeyes
https://pimeyes.com/en - not on the glasses themselves. It seems rather click baitey to highlight the Ray Ban smart glasses when pretty much any video camera can be used for this purpose. There are plenty of hidden camera manufacturers that don't even bother to include a privacy light, and actively try to camouflage cameras as everyday objects. Here's one disguised as a screw head:
https://www.ebay.com/itm/143837083926It's not like taking the smart glasses off the market would make this technology any less accessible.