Solved

redirecting web cam input to a JFrame

Posted on 2010-11-11
7
890 Views
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 !
0
Comment
Question by:hipal
  • 4
  • 2
7 Comments
 
LVL 3

Expert Comment

by:sufianmehmood
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
0
 
LVL 86

Expert Comment

by:CEHJ
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?
0
 

Author Comment

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

and thanks for reply CEHJ
0
Free Tool: Subnet Calculator

The subnet calculator helps you design networks by taking an IP address and network mask and returning information such as network, broadcast address, and host range.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

 
LVL 86

Expert Comment

by:CEHJ
ID: 34120286
Are you using Windows?
0
 
LVL 86

Accepted Solution

by:
CEHJ earned 500 total points
ID: 34120346
http://www.quickcamteam.net/ could be something worth starting with - you might have to start from the position of native code
0
 

Author Comment

by:hipal
ID: 34120743
yes I am using Windows 7
0
 
LVL 86

Expert Comment

by:CEHJ
ID: 34130528
:)
0

Featured Post

Free Tool: Subnet Calculator

The subnet calculator helps you design networks by taking an IP address and network mask and returning information such as network, broadcast address, and host range.

One of a set of tools we're offering 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

Displaying an arrayList in a listView using the default adapter is rarely the best solution. To get full control of your display data, and to be able to refresh it after editing, requires the use of a custom adapter.
A short article about problems I had with the new location API and permissions in Marshmallow
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…
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 …

831 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