[Solved] Using the camera of the laptop with swing in java [closed]


Using Webcam Capture project.

Example from author for the API usage:

Webcam buildin = Webcam.getWebcams().get(0); // build-in laptop camera
Webcam usb = Webcam.getWebcams().get(1); // usb camera
BufferedImage image1 = buildin.getImage();
BufferedImage image2 = usb.getImage(); // do with image1 and image2 whatever you want

11

solved Using the camera of the laptop with swing in java [closed]