I want to build a simple program using eclipse tool, and in this program I need to use webcam of the computer ! I just need a simple code to get the photo from a webcam Thanks for helping...
Asked
Active
Viewed 1,381 times
2
-
Sorry, but the code to get an image from a webcam is extremely complex and only for Java experts to use. – Gilbert Le Blanc Jun 10 '14 at 06:59
-
Maybe [THIS](http://stackoverflow.com/questions/276292/capturing-image-from-webcam-in-java?rq=1) helps. If not you will have to be a bit more specific in what you want and ,even better, show what you already tried. – Dawnkeeper Jun 10 '14 at 07:00
1 Answers
1
The above comments are invalid as they say it is "extremely hard". It was, still upto some level, but not that much.
If you are into Image Processing (process the image once you get the picture) then use
JavaCV
. It can access web cam. It is a wrapper toOpenCV C++
Library so some setup might get invloved.Do not try JMF, VLCJ, FMJ because they are all outdated.
Have a look at this link. Have a look at the answer with an image, It is a webcam project for Java, find the GitHub project here