How to get RGB value of every pixel of a webcam and send to a list?

uchtp's icon

I am trying to acquire the RBG value of every pixel in a 320 X 240 screen. Either from video or webcam and perhaps store in jit.cellblock. Any ideas on the best approach? Thanks.

Luke Woodbury's icon

jit.iter and jit.spill are your friends for this sort of thing