How to watch from matlab what I'm watching on my monitor ?

Hi. Here's my question: How to watch from matlab what I'm watching on my monitor ? So I want the same that people do with webcams but with my screen. So now I will be watching me typing here on mathworks.com .
thank you in advance

 採用された回答

Walter Roberson
Walter Roberson 2011 年 8 月 31 日

0 投票

Use Yair's techniques to create an invisible frame. Overlay it over the area of interest. getframe() to get what is "underneath".
This technique should in theory not work over any area that contains DRM (Digital Rights Management) controlled output, such as DVD videos.

2 件のコメント

Arturo Moncada-Torres
Arturo Moncada-Torres 2011 年 9 月 1 日
Any reference where to find this technique? Just to have the answer complete :)
Walter Roberson
Walter Roberson 2011 年 9 月 1 日
http://www.mathworks.com/matlabcentral/fileexchange/30583

サインインしてコメントする。

その他の回答 (3 件)

Carlos
Carlos 2011 年 8 月 31 日

1 投票

Actually I was looking for it because I want my software to respond to what appears there.
Example: You open a shooter game and make a code to detect the enemies and aim at them automatically. Instead of using a webcam pointing to my monitor hah.

1 件のコメント

Arturo Moncada-Torres
Arturo Moncada-Torres 2011 年 8 月 31 日
This one should definitively go here http://www.mathworks.ch/matlabcentral/answers/9073-what-is-your-unusual-use-of-matlab

サインインしてコメントする。

Fangjun Jiang
Fangjun Jiang 2011 年 8 月 30 日

0 投票

I want MATLAB to do everything too but I don't think MATLAB provides screen recording capability yet. Doug Hull did a lot of video tutorials. He must have used some third-party tool. There are lots of third-party tools out there. Watch Doug's video to see if you like it. Shoot him an email asking which tool did he use.
Yair Altman
Yair Altman 2011 年 9 月 3 日

0 投票

In addition to Walter's answer above, you could also use my ScreenCapture utility to capture any screen rectangle (x,y,width,height): http://www.mathworks.com/matlabcentral/fileexchange/24323-screencapture-get-a-screen-capture-of-a-figure-frame-or-component

カテゴリ

ヘルプ センター および File Exchange で Just for fun についてさらに検索

タグ

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by