Java: how to take a screenshot fast
Posted
by user350789
on Stack Overflow
See other posts from Stack Overflow
or by user350789
Published on 2010-05-26T10:18:47Z
Indexed on
2010/05/26
10:21 UTC
Read the original article
Hit count: 183
I am implementing a simple eye tracker, which requires fast screenshoting of what is happening on the screen simultaneously with capturing the video from webcam.
The thing is that the way of doing it with Robot, mentioned here: http://stackoverflow.com/questions/2475303/java-library-for-capturing-active-window-screenshot is extremely slow.
By the way, retrieving the video from a webcam works much faster and returns the byte array, which is very fast to be processed.
Does anybody know a faster solution? C++ libraries, which can be linked to Java for doing this may help as well.
Thank you!
© Stack Overflow or respective owner