Google has introduced Magritte, a library for automatically hiding faces in photos and videos. It will be useful for those who build collections for analysis by third-party researchers or for public posting, for example, on Google Maps.
The library uses machine learning techniques to identify objects in the frame. It works as an add-on to the MediaPipe framework, which uses TensorFlow. Magritte is written in C++ and distributed under the Apache 2.0 license.