Wrox Programmer Forums
Go Back   Wrox Programmer Forums > Java > Java and JDK > Java Basics
|
Java Basics General beginning Java language questions that don't fit in one of the more specific forums. Please specify what version.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the Java Basics section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old February 23rd, 2006, 08:01 AM
Authorized User
 
Join Date: Dec 2003
Posts: 14
Thanks: 0
Thanked 0 Times in 0 Posts
Default Capturing web camera image directly

I'm capturing webcamera Image using following code:
import com.asprise.util.jtwain.Source;
import com.asprise.util.jtwain.SourceManager;

try
{
Source source=SourceManager.instance().getDefaultSource() ;
source.open();
img=source.acquireImage();
 //get the bufferedImage
  BufferedImage bufferedImage = getBufferedImageFromImage(img);
  disp.setIcon(new ImageIcon(bufferedImage));
      }

The intemediate step is provided by asprise.com but it is a licenced one. I want to capture image without going through this. How do I do that?





Similar Threads
Thread Thread Starter Forum Replies Last Post
problem in capturing webcam image harini19 Java Basics 1 January 5th, 2018 05:47 AM
Image Access Restriction directly vinod_yadav1919 Javascript How-To 9 November 2nd, 2011 06:33 AM
web camera devsam JSP Basics 0 June 13th, 2006 11:19 PM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.