开发者

How do you get value of a pixel from a webcam in Pure Data?

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开发者_如何学Python) values of specific pixels.

Is this possible?


Looks like the answer is 'pix_data'.

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


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.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜