hello friends
i m working on a project wherein we have to capture a photo using web cam for the web application..
can anybody tell me how we can do this.
i have read many artical and found a code for the stand alone appli. from "http://www.mutong.com/fischer/java/usbcam/" but it is not running it is showing the exception (Exception in thread "main" java.lang.NullPointerException) in MediaLocator videoMediaLocator = captureVideoDevice.getLocator();
can anyone tell me what is happening here as i m very new to the java...
neelamdwivedi
0
Newbie Poster
Recommended Answers
Jump to Postnot sure about the webcam part, but take a look at the Robot class. It has methods to capture screen images, (createScreenCapture,, getPixelColor...)
you can do alot with this
All 2 Replies
Reply to this topic
Be a part of the DaniWeb community
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.