語言:爪哇 它用於除了:JMF 下面是代碼(沒有Swing的形式),其允許與網絡攝像頭捕捉的圖像: MediaLocator getWebCam = new MediaLocator("vfw://0");
private Player player;
Timer timer = new Timer(40, this);
public BufferedImage g
我想用我的攝像頭在Java中捕獲圖像在Ubuntu 11.10 Vector deviceList = CaptureDeviceManager.getDeviceList(new RGBFormat());
System.out.println(deviceList.toString());
//gets the first device in deviceList