---
title: "Discussion on \"Building Stable Video Portrait Outlines in the Browser with MODNet, SlimSAM, MediaPipe, and Optical Flow\" | Hashnode"
description: "Discussion on \"Building Stable Video Portrait Outlines in the Browser with MODNet, SlimSAM, MediaPipe, and Optical Flow\". How YOLOS, MODNet, MediaPipe, SlimSAM, and Farneback optical flow work together to produce fast, temporally stable portrait effects entirely in the browser."
url: "https://hashnode.com/posts/building-stable-video-portrait-outlines-in-the-browser-with-modnet-slimsam-mediapipe-and-optical-flow/6a69d2bab062e8926cd0ee54"
---

[Feed](https://hashnode.com/feed) /

Discussion

# [Building Stable Video Portrait Outlines in the Browser with MODNet, SlimSAM, MediaPipe, and Optical Flow](https://martindelophy.hashnode.dev/building-stable-video-portrait-outlines-in-the-browser-with-modnet-slimsam-mediapipe-and-optical-flow?utm_source=hashnode&utm_medium=feed)

How YOLOS, MODNet, MediaPipe, SlimSAM, and Farneback optical flow work together to produce fast, temporally stable portrait effects entirely in the browser.

Jul 29 · 8 min read · martindelophy.hashnode.dev  
Read the article

-   [#javascript](https://hashnode.com/tag/javascript)
-   [#webgpu](https://hashnode.com/tag/webgpu)
-   [#artificial-intelligence](https://hashnode.com/tag/artificial-intelligence)
-   [#opencv](https://hashnode.com/tag/opencv)
-   [#video-processing](https://hashnode.com/tag/video-processing)

## Written by

[Martin Delophy](https://hashnode.com/@martindelophy)

@martindelophy

  
[View profile](https://hashnode.com/@martindelophy)

## Responses

Markdown supported · ⌘↵ to post

No responses yet.
