2

I'm new to Pure Data and am really impressed with it so far.

What I need to do is to access the webcam and extract the luminosity (or RGB, conversion is easy) values of specific pixels.

Is this possible?

Community
  • 1
  • 1
Tom Wright
  • 11,278
  • 15
  • 74
  • 148

2 Answers2

2

Looks like the answer is 'pix_data'.

Got the answer here: http://puredata.hurleur.com/sujet-2749-information-gem-window

Tom Wright
  • 11,278
  • 15
  • 74
  • 148
1

You'll want to use [pix_video] to get frames from the video camera, and [pix_data] to get information about a specific pixel in a given frame.