pixel data
These demos work with the raw pixel data. They all use the same scenario of calculating a proportional difference from one frame to the previous frame. This makes for a very crude movement sensor.
Note that there is very low performance using Safari.
-
pixels-overlay: Process pixels in a frame, drawing an overlay on the
original
video
Pixel processing
-
pixels-process: Process & manipulate pixels in a frame, drawing the whole
frame
Pixel processing, drawing ImageData
-
pixels-worker: Process frames in a worker thread for improved performance.
Pixel processing, worker thread, averaging