See code below, running on 64 bits windows 7, jdk 1.7.0_04.
If not doing "invoke later", it works fine, but if do "invoke later", then it shows "org.openimaj.video.capture.VideoCaptureException: An error occured opening the capture device"
I think there is an issue if there are two threads using the grabber at the same time.
See code below, running on 64 bits windows 7, jdk 1.7.0_04.
If not doing "invoke later", it works fine, but if do "invoke later", then it shows "org.openimaj.video.capture.VideoCaptureException: An error occured opening the capture device"
I think there is an issue if there are two threads using the grabber at the same time.
Anthony
--
public class TestVideoCapture {
// SwingUtilities.invokeLater(new Runnable() {
//
// public void run() {
// showWindows(devices);
// }
// });
}
}
}