# Updating pixels on a live video stream

**URL:** <https://discourse.processing.org/t/updating-pixels-on-a-live-video-stream/29187>\
**Category:** Processing\
**Created:** [April 7, 2021, 1:31pm UTC](https://discourse.processing.org/t/updating-pixels-on-a-live-video-stream/29187 "2021-04-07T13:31:12Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![bandhavya](https://avatars.discourse-cdn.com/v4/letter/b/958977/32.png) [@bandhavya](https://discourse.processing.org/u/bandhavya)\
**Post date:** [April 7, 2021, 1:31pm UTC](https://discourse.processing.org/t/updating-pixels-on-a-live-video-stream/29187/1 "2021-04-07T13:31:12Z")

</div>

> please format code with \</\> button \* [homework policy](https://discourse.processing.org/faq/#homework) \* [asking questions](https://discourse.processing.org/t/2147)

Here is my code. [https://editor.p5js.org/bandhavya/sketches/BCFYuQzS-](https://www.google.com/url?q=https://editor.p5js.org/bandhavya/sketches/BCFYuQzS-&sa=D&source=hangouts&ust=1617888357490000&usg=AFQjCNF8X20UIc_4TEcalLKIhuCXd2rxQw)

Im unable to update the pixels of a live video. Please suggest how to proceed.

I would like to process the video in the same way like shown here @ [Remove Person from Video with AI and JavaScript - Red Stapler](https://redstapler.co/remove-person-from-video-ai-javascript/) Here a video.mp4 file is used but I want to live stream the content
