# Regarding pixel manipulation from live camera feed

**URL:** <https://discourse.processing.org/t/regarding-pixel-manipulation-from-live-camera-feed/21643>\
**Category:** Coding Questions\
**Created:** [June 7, 2020, 8:28am UTC](https://discourse.processing.org/t/regarding-pixel-manipulation-from-live-camera-feed/21643 "2020-06-07T08:28:23Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![maddyna](https://avatars.discourse-cdn.com/v4/letter/m/46a35a/32.png) [@maddyna](https://discourse.processing.org/u/maddyna)\
**Post date:** [June 7, 2020, 8:28am UTC](https://discourse.processing.org/t/regarding-pixel-manipulation-from-live-camera-feed/21643/1 "2020-06-07T08:28:23Z")

</div>

\<!-- Tips: Format your code with \</ I am trying to map image pixels from live camera into a larger canvas but whenever i am doing that i am only getting a black canvas Can anybody suggest whr I am going wrong in my algorithm I must confess the algorithm is followed from a tutorial the code is submitted below please advise: let sizing=16; function setup() { createCanvas(640,480); video=createCapture(VIDEO); video.size(width/sizing,height/sizing); } function draw() { background(220); video.loadPixels(); for(var y=0;y\<video.height;y++){ for(var x=0;x
