This is a demo using MediaStreamTrack Insertable Streams (a.k.a. Breakout Box) to detect faces (using the MediaPipe library) and then crop them out. It allows splitting up a in-person meeting with multiple people in the same room into separate cropped streams similar to what is described here.
This demo requires MediaStreamTrack Insertable Streams which requires experimental web platform features to be enabled in chrome://flags. It also needs OffscreenCanvas.