capture an image from webcam

hi, i'm trying to capture a image from a webcam, but i don't have a clue of how to do this, could anyone help me with samples or books.

thanks.

[158 byte] By [namliwa] at [2007-11-27 10:25:27]
# 1

Here's a working example I posted a while back.

http://forum.java.sun.com/thread.jspa?forumID=28&threadID=570463

omcgoverna at 2007-7-28 17:33:43 > top of Java-index,Security,Cryptography...
# 2

Wanna ask a question?

After searching a lot I finally found that you cant write local files using applet(web).

Is it true?

http://forum.java.sun.com/thread.jspa?threadID=247253&start=15

Regards,

Vikram

vikramca at 2007-7-28 17:33:43 > top of Java-index,Security,Cryptography...
# 3

Applet security will prevent you, yes, but there are ways to work around that.

You can digitally sign your classes.

This means

a) putting all your class files in to one or more JAR files

b) running the Java signtool against that JAR file

You will be able to write to files on the local pc then.

However, if this is still related to JMF, the user will have to manually install the performance pack version of JMF on their PC, and run "jmfinit" to detect/register their webcam.

regards,

Owen

omcgoverna at 2007-7-28 17:33:43 > top of Java-index,Security,Cryptography...
# 4

thanks a lot, and just one more question, do you know how to zoom ?, the app i'm working on needs to take a picture from a webcam to generate an id card.

thanks again.

namliwa at 2007-7-28 17:33:43 > top of Java-index,Security,Cryptography...