Java with WebCam, possible?

Posted on 2007-07-23
Last Modified: 2008-02-26

I am wondering if the following is possible.

Java codes on windows, control WebCam (any webcam, most likely Logitech's) take the WebCam's current state and record it as a picture.

Save the picture to a file on local drive.

I have a feeling It might involve Jini, and would call some Com objects. Is that possible? Are there some tutorials or atleast some articles on how to do that?

what if I have it on a Linux system?

I am taking Java coz its easier for me. I know Java already, don't want to learn or C#... unless it is really necessary. And I want to keep it as portable as possible.
Question by:SamsonChung
    LVL 2

    Accepted Solution


    You can use Java Media Framework (JMF) for accessing web cam using java. This plug in is available at sun's site also u can find some sample code and tutorial along with it thr....

    plz look @ this site
    LVL 9

    Assisted Solution


    Write Comment

    Please enter a first name

    Please enter a last name

    We will never share this with anyone.

    Featured Post

    Live - One-on-One Java Help from Top Experts

    Solve your toughest problems, fast.
    Java experts are online now and ready to help you.

    Suggested Solutions

    If you have upgraded to Java2 update 10 on a Microsoft Windows client, you may have discovered that your Java application does not work as it did before.  For example, the colors of your Java2D graphic may be all wrong for no apparent reason. Aft…
    For customizing the look of your lightweight component and making it look lucid like it was made of glass. Or: how to make your component more Apple-ish ;) This tip assumes your component to be of rectangular shape and completely opaque. (COD…
    This theoretical tutorial explains exceptions, reasons for exceptions, different categories of exception and exception hierarchy.
    Viewers will learn how to properly install Eclipse with the necessary JDK, and will take a look at an introductory Java program. Download Eclipse installation zip file: Extract files from zip file: Download and install JDK 8: Open Eclipse and …

    759 members asked questions and received personalized solutions in the past 7 days.

    Join the community of 500,000 technology professionals and ask your questions.

    Join & Ask a Question

    Need Help in Real-Time?

    Connect with top rated Experts

    12 Experts available now in Live!

    Get 1:1 Help Now