File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes Java in General and the fly likes webcam Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Java in General
Bookmark "webcam" Watch "webcam" New topic


aude tantot
Ranch Hand

Joined: May 21, 2001
Posts: 39
Can someone tell me how to integrate my webcam's images into an applet?
Once integrated, can i "map" this image?
Valentin Crettaz
Gold Digger

Joined: Aug 26, 2001
Posts: 7610
Hi Aude,
nice to see some French people in here
Integrating multimedia streams into an applet is not a big deal. You may want to have a look at the Java Media Framework which provides a very elegant solutions to this. Read the Programmer's Guide and you'll see that in less than 50 lines of code you can integrate a webcam stream into your applet.
Let me know if it worked

Valentin Crettaz
Sun Certified Programmer for Java 2 Platform

[Blog] [Blogroll] [My Reviews] My Linked In
Dave Vick
Ranch Hand

Joined: May 10, 2001
Posts: 3244
Here's one I jsut saw in a magazine, the article is done for C++ but it shouldn't be too hard to convert it for java. On the other hand I don't know much (ok not anything) about the media framework that Valentin mentioned so that might make it much easier than anything in the article.
hope that helps a little

Sun Certified Programmer for the Java� 2 Platform

I agree. Here's the link:
subject: webcam
It's not a secret anymore!