# Setting Pixels of a Webcam Capture

**URL:** <https://discourse.processing.org/t/setting-pixels-of-a-webcam-capture/43976>\
**Category:** Libraries\
**Created:** [February 22, 2024, 1:51pm UTC](https://discourse.processing.org/t/setting-pixels-of-a-webcam-capture/43976 "2024-02-22T13:51:59Z")\
**Posts on this page:** 1\
**Showing post:** 4

<div class="post-metadata">

**Author:** ![glv](https://yyz2.discourse-cdn.com/flex036/user_avatar/discourse.processing.org/glv/32/18785_2.png) [@glv](https://discourse.processing.org/u/glv)\
**Post date:** [February 23, 2024, 11:42am UTC](https://discourse.processing.org/t/setting-pixels-of-a-webcam-capture/43976/4 "2024-02-23T11:42:46Z")

</div>

> [@dswayne92](#):
>
> I’m not sure I understand your use of noLoop() and redraw()

This was done so that I _only updated_ after a successful captureEvent(); part of my debugging and development.

Another related topic:

> [@Video Pixels Changing While I Process Them](https://discourse.processing.org/t/video-pixels-changing-while-i-process-them/32589):
>
> I’m using the Video 2.0 library with Processing 3.5.4 on Windows 10. I start capturing from my laptop’s camera, and just do an xor against 0xFFFFFF for every pixel. The output should look like this: But every so often, it looks like this: It seems to last for a single video frame, then goes away until the next time it happens. Seems to happen at random times, about 15 to 20 times every minute. The region of the picture that is affected changes each time, but it always look…

References:

- [Video / Processing.org](https://processing.org/tutorials/video)
- [redraw() / Reference / Processing.org](https://processing.org/reference/redraw_.html)

`:)`

---

_[View the full topic](https://discourse.processing.org/t/setting-pixels-of-a-webcam-capture/43976)._
