redirecting web cam input to a JFrame

Posted on 2010-11-11
Last Modified: 2012-08-13
I am trying to redirect my web cam input to my JFrame.

I know this will be done some how using JMF, but not able to do that.

I will be so grateful if someone can give the code snippet for that or may be step by step procedure to attain the required.

Thanks !
Question by:hipal
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 4
  • 2

Expert Comment

ID: 34118359
to access the camera you will need to use the AviCap or Direct X library in windows. Web Camera gives you an array of images, each image is known as "frame". By displaying multiple frames in a window at the right frequency will give you smooth video display
LVL 86

Expert Comment

ID: 34118695
That would depend on how your cam supplies its output. Frequently there is already a java interface of some kind. What cam is it?

Author Comment

ID: 34120101
I am using IBM Thinkpad t400s inbuilt cam ..

and thanks for reply CEHJ
Instantly Create Instructional Tutorials

Contextual Guidance at the moment of need helps your employees adopt to new software or processes instantly. Boost knowledge retention and employee engagement step-by-step with one easy solution.

LVL 86

Expert Comment

ID: 34120286
Are you using Windows?
LVL 86

Accepted Solution

CEHJ earned 500 total points
ID: 34120346 could be something worth starting with - you might have to start from the position of native code

Author Comment

ID: 34120743
yes I am using Windows 7
LVL 86

Expert Comment

ID: 34130528

Featured Post

Free Tool: Port Scanner

Check which ports are open to the outside world. Helps make sure that your firewall rules are working as intended.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
import as existing maven project 3 78
Using jdbcTemplate.batchUpdate to improve INSERT performance 6 35
Ruby or Python 7 134
Extract data from output with RegEx 1 41
This is about my first experience with programming Arduino.
Basic understanding on "OO- Object Orientation" is needed for designing a logical solution to solve a problem. Basic OOAD is a prerequisite for a coder to ensure that they follow the basic design of OO. This would help developers to understand the b…
Viewers will learn about arithmetic and Boolean expressions in Java and the logical operators used to create Boolean expressions. We will cover the symbols used for arithmetic expressions and define each logical operator and how to use them in Boole…
This tutorial explains how to use the VisualVM tool for the Java platform application. This video goes into detail on the Threads, Sampler, and Profiler tabs.

710 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