开发者

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

开发者 https://www.devze.com 2022-12-16 10:03 出处:网络
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 p

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

精彩评论

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