Win a copy of Mesos in Action this week in the Cloud/Virtualizaton forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

webcam

 
aude tantot
Ranch Hand
Posts: 39
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Sheriff
Posts: 7610
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
 
Dave Vick
Ranch Hand
Posts: 3244
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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


------------------
Dave
Sun Certified Programmer for the Java� 2 Platform
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic