Capturing webcam images
Hi,
I have flash working with flash media server to record a
webcam. There are two things I also need the application to do
which it currently doesn't.
1) How do you capture a still image from the webcam? At the
moment im using this line of code to record:
publish_ns.publish("allAboutMe + 1", "record");
2) How do you show what is being recorded as you record?, at
present it records with a blank screen and you cant see the results
until you play it back. This is the code used at the moment.
var my_nc:NetConnection = new NetConnection();
my_nc.connect("rtmp://localhost/allAboutMe");
var publish_ns:NetStream = new NetStream(my_nc);
publish_ns.attachVideo(Camera.get());
publish_ns.attachAudio(Microphone.get());
publish_ns.publish("allAboutMe + 1", "record");
thanks
Gavin
For starters, you should not call NetStream.publish() until
AFTER you receive a NetConnection.Connect.Success message from the
server. Failure to do so may prevent anything from streaming.
Create a new "onStatus" method as follows:
var my_nc:NetConnection = new NetConnection();
my_nc.onStatus = function (info:Object)
if(info.code == "NetConnection.Connect.Success")
// Publish your stream here
var publish_ns:NetStream = new NetStream(my_nc);
publish_ns.attachVideo(Camera.get());
publish_ns.attachAudio(Microphone.get());
publish_ns.publish("allAboutMe + 1", "record");
my_nc.connect("rtmp://localhost/allAboutMe");
To watch the video, you need to create a Video component on
the stage and then attach the camera as follows:
var video:Video; // Don't forget to create this component on
the stage!
video.attachVideo(Camera.get());
As for capturing a single image, I'm not sure how to do that,
but you can make the player display a single image like this:
your_netstream.play(yourstream, -1, 0);
The zero parameter tells Flash to play the stream for zero
seconds (i.e. 1 frame)
Good luck,
Barry
Similar Messages
-
Problem in capturing webcam image
To capture image directly, I'm using the following code:
import java.io.*;
import java.awt.*;
import java.util.Enumeration;
import java.util.Properties;
import java.util.Vector;
import javax.media.*;
import javax.media.control.*;
import javax.media.protocol.*;
import javax.media.util.*;
import javax.media.format.RGBFormat;
import javax.media.format.VideoFormat;
import javax.media.*;
import javax.media.control.*;
import javax.media.util.*;
import java.awt.image.*;
import java.awt.event.*;
import javax.swing.*;
import javax.imageio.*;
import javax.swing.*;
import javax.swing.border.*;
import java.io.*;
import javax.media.*;
import javax.media.datasink.*;
import javax.media.format.*;
import javax.media.protocol.*;
import javax.media.util.*;
import javax.media.control.*;
import java.util.*;
import java.awt.*;
import java.awt.image.*;
import java.awt.event.*;
import com.sun.image.codec.jpeg.*;
import java.io.IOException;
import java.util.Locale;
import javax.imageio.ImageReader;
import javax.imageio.spi.ImageReaderSpi;
import javax.imageio.stream.ImageInputStream;
import com.sun.media.protocol.vfw.VFWCapture; // JMF 2.1.1e version
// set up player
JPanel videoPanel = new JPanel();
// note I just set the media locator directly
MediaLocator ml = new MediaLocator("vfw://0");
try {
Manager.setHint(Manager.LIGHTWEIGHT_RENDERER, new Boolean(true));
player = Manager.createRealizedPlayer(ml);
player.start();
Component comp;
if ((comp = player.getVisualComponent()) != null) {
videoPanel.add(comp, BorderLayout.CENTER);
videoPanel.setSize(new Dimension(320, 240));
videoPanel.setMinimumSize(new Dimension(320, 240));
videoPanel.setMaximumSize(new Dimension(320, 240));
playerUp=true;
catch (Exception e) {
// process error
// action code on capture button
public void actionPerformed(ActionEvent e) {
JComponent c = (JComponent) e.getSource();
if (c == capture) {
// Grab the frame
FrameGrabbingControl fgc = (FrameGrabbingControl) player.getControl("javax.media.control.FrameGrabbingControl");
Buffer buf = fgc.grabFrame();
// Convert to image
BufferToImage btoi = new BufferToImage((VideoFormat)buf.getFormat());
Image img = btoi.createImage(buf);
// now go and display the captured image
But it gives the error package javax.media does not exist. I'm using jdk 1.4. Classpath is set becoz it doesn't give error for javax.swing, which I'm using in my code. What could be the problem?You need to get and install JMV.
http://java.sun.com/products/java-media/jmf/
rykk -
Capturing 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.hi
so as i understood u want to access the USB and make whats called camera interaction i worked with my webcam and i generate a video stream and i'm working now to sample this video
i found these class on the internet u have to make a littel changes like camera defention
* File: DeviceInfo.java.java
* created 24.07.2001 21:44:12 by David Fischer, [email protected]
import java.awt.Dimension;
import javax.media.*;
import javax.media.control.*;
import javax.media.format.*;
import javax.media.protocol.*;
public class DeviceInfo
public static Format formatMatches (Format format, Format supported[] )
if (supported == null)
return null;
for (int i = 0; i < supported.length; i++)
if (supported.matches(format))
return supported[i];
return null;
public static boolean setFormat(DataSource dataSource, Format format)
boolean formatApplied = false;
FormatControl formatControls[] = null;
formatControls = ((CaptureDevice) dataSource).getFormatControls();
for (int x = 0; x < formatControls.length; x++)
if (formatControls[x] == null)
continue;
Format supportedFormats[] = formatControls[x].getSupportedFormats();
if (supportedFormats == null)
continue;
if (DeviceInfo.formatMatches(format, supportedFormats) != null)
formatControls[x].setFormat(format);
formatApplied = true;
return formatApplied;
public static boolean isVideo(Format format)
return (format instanceof VideoFormat);
public static boolean isAudio(Format format)
return (format instanceof AudioFormat);
public static String formatToString(Format format)
if (isVideo(format))
return videoFormatToString((VideoFormat) format);
if (isAudio(format))
return audioFormatToString((AudioFormat) format);
return ("--- unknown media device format ---");
public static String videoFormatToString(VideoFormat videoFormat)
StringBuffer result = new StringBuffer();
// add width x height (size)
Dimension d = videoFormat.getSize();
result.append("size=" + (int) d.getWidth() + "x" + (int) d.getHeight() + ", ");
// try to add color depth
if (videoFormat instanceof IndexedColorFormat)
IndexedColorFormat f = (IndexedColorFormat) videoFormat;
result.append("color depth=" + f.getMapSize() + ", ");
// add encoding
result.append("encoding=" + videoFormat.getEncoding() + ", ");
// add max data length
result.append("maxdatalength=" + videoFormat.getMaxDataLength() + "");
return result.toString();
public static String audioFormatToString(AudioFormat audioFormat)
StringBuffer result = new StringBuffer();
// short workaround
result.append(audioFormat.toString().toLowerCase());
return result.toString();
the second class:
* File: MyDataSinkListener.java
* created 24.07.2001 21:41:47 by David Fischer, [email protected]
* Decription: simple data sink listener, used to check for end of stream
import javax.media.datasink.*;
public class MyDataSinkListener implements DataSinkListener
boolean endOfStream = false;
public void dataSinkUpdate(DataSinkEvent event)
if (event instanceof javax.media.datasink.EndOfStreamEvent)
endOfStream = true;
public void waitEndOfStream(long checkTimeMs)
while (! endOfStream)
Stdout.log("datasink: waiting for end of stream ...");
try { Thread.currentThread().sleep(checkTimeMs); } catch (InterruptedException ie) {}
Stdout.log("datasink: ... end of stream reached.");
* File: MyDataSinkListener.java
* created 24.07.2001 21:41:47 by David Fischer, [email protected]
* Decription: simple data sink listener, used to check for end of stream
import javax.media.datasink.*;
public class MyDataSinkListener implements DataSinkListener
boolean endOfStream = false;
public void dataSinkUpdate(DataSinkEvent event)
if (event instanceof javax.media.datasink.EndOfStreamEvent)
endOfStream = true;
public void waitEndOfStream(long checkTimeMs)
while (! endOfStream)
Stdout.log("datasink: waiting for end of stream ...");
try { Thread.currentThread().sleep(checkTimeMs); } catch (InterruptedException ie) {}
Stdout.log("datasink: ... end of stream reached.");
}[i]the 3rd class:/******************************************************
* File: Stdout.java.java
* created 24.07.2001 21:44:46 by David Fischer, [email protected]
* Description: utility class for standard output
public class Stdout
public static void log(String msg)
System.out.println(msg);
public static void logAndAbortException(Exception e)
log("" + e);
flush();
System.exit(0);
public static void logAndAbortError(Error e)
log("" + e);
flush();
System.exit(0);
public static void flush()
System.out.flush();
the 4rt is :
* File: TestQuickCamPro.java
* created 24.07.2001 21:40:13 by David Fischer, [email protected]
* Description: this test program will capture the video and audio stream
* from a Logitech QuickCam� Pro 3000 USB camera for 10 seconds and stores
* it on a file, named "testcam.avi". You can use the microsoft windows
* media player to display this file.
* operating system: Windows 2000
* required hardware: Logitech QuickCam� Pro 3000
* required software: jdk 1.3 or jdk1.4 plus jmf2.1.1 (www.javasoft.com)
* source files: DeviceInfo.java, MyDataSinkListener.java,
* Stdout.java, TestQuickCamPro.java
* You can just start this program with "java TestQuickCamPro"
* hint: please make shure that you setup first the logitech camerea drives
* and jmf2.1.1 correctly. "jmf.jar" must be part of your CLASSPATH.
* useful links:
* - http://java.sun.com/products/java-media/jmf/2.1.1/index.html
* - http://java.sun.com/products/java-media/jmf/2.1.1/solutions/index.html
* with some small modifications, this program will work with any USB camera.
import java.io.*;
import javax.media.*;
import javax.media.control.*;
import javax.media.datasink.*;
import javax.media.format.*;
import javax.media.protocol.*;
public class TestQuickCamPro
private static boolean debugDeviceList = false;
private static String defaultVideoDeviceName = "vfw:Microsoft WDM Image Capture (Win32):0";
private static String defaultAudioDeviceName = "DirectSoundCapture";
private static String defaultVideoFormatString = "size=176x144, encoding=yuv, maxdatalength=38016";
private static String defaultAudioFormatString = "linear, 16000.0 hz, 8-bit, mono, unsigned";
private static CaptureDeviceInfo captureVideoDevice = null;
private static CaptureDeviceInfo captureAudioDevice = null;
private static VideoFormat captureVideoFormat = null;
private static AudioFormat captureAudioFormat = null;
public static void main(String args[])
// get command line arguments
for (int x = 0; x < args.length; x++)
// -dd = debug devices list -> display list of all media devices - and exit
if (args[x].toLowerCase().compareTo("-dd") == 0)
debugDeviceList = true;
// get a list of all media devices, search default devices and formats, and print it out if args[x] = "-dd"
Stdout.log("get list of all media devices ...");
java.util.Vector deviceListVector = CaptureDeviceManager.getDeviceList(null);
if (deviceListVector == null)
Stdout.log("... error: media device list vector is null, program aborted");
System.exit(0);
if (deviceListVector.size() == 0)
Stdout.log("... error: media device list vector size is 0, program aborted");
System.exit(0);
for (int x = 0; x < deviceListVector.size(); x++)
// display device name
CaptureDeviceInfo deviceInfo = (CaptureDeviceInfo) deviceListVector.elementAt(x);
String deviceInfoText = deviceInfo.getName();
if (debugDeviceList)
Stdout.log("device " + x + ": " + deviceInfoText);
// display device formats
Format deviceFormat[] = deviceInfo.getFormats();
for (int y = 0; y < deviceFormat.length; y++)
// serach for default video device
if (captureVideoDevice == null)
if (deviceFormat[y] instanceof VideoFormat)
if (deviceInfo.getName().indexOf(defaultVideoDeviceName) >= 0)
captureVideoDevice = deviceInfo;
Stdout.log(">>> capture video device = " + deviceInfo.getName());
// search for default video format
if (captureVideoDevice == deviceInfo)
if (captureVideoFormat == null)
if (DeviceInfo.formatToString(deviceFormat[y]).indexOf(defaultVideoFormatString) >= 0)
captureVideoFormat = (VideoFormat) deviceFormat[y];
Stdout.log(">>> capture video format = " + DeviceInfo.formatToString(deviceFormat[y]));
// serach for default audio device
if (captureAudioDevice == null)
if (deviceFormat[y] instanceof AudioFormat)
if (deviceInfo.getName().indexOf(defaultAudioDeviceName) >= 0)
captureAudioDevice = deviceInfo;
Stdout.log(">>> capture audio device = " + deviceInfo.getName());
// search for default audio format
if (captureAudioDevice == deviceInfo)
if (captureAudioFormat == null)
if (DeviceInfo.formatToString(deviceFormat[y]).indexOf(defaultAudioFormatString) >= 0)
captureAudioFormat = (AudioFormat) deviceFormat[y];
Stdout.log(">>> capture audio format = " + DeviceInfo.formatToString(deviceFormat[y]));
if (debugDeviceList)
Stdout.log(" - format: " + DeviceInfo.formatToString(deviceFormat[y]));
Stdout.log("... list completed.");
// if args[x] = "-dd" terminate now
if (debugDeviceList)
System.exit(0);
// setup video data source
MediaLocator videoMediaLocator = captureVideoDevice.getLocator();
DataSource videoDataSource = null;
try
videoDataSource = javax.media.Manager.createDataSource(videoMediaLocator);
catch (IOException ie) { Stdout.logAndAbortException(ie); }
catch (NoDataSourceException nse) { Stdout.logAndAbortException(nse); }
if (! DeviceInfo.setFormat(videoDataSource, captureVideoFormat))
Stdout.log("Error: unable to set video format - program aborted");
System.exit(0);
// setup audio data source
MediaLocator audioMediaLocator = captureAudioDevice.getLocator();
DataSource audioDataSource = null;
try
audioDataSource = javax.media.Manager.createDataSource(audioMediaLocator);
catch (IOException ie) { Stdout.logAndAbortException(ie); }
catch (NoDataSourceException nse) { Stdout.logAndAbortException(nse); }
if (! DeviceInfo.setFormat(audioDataSource, captureAudioFormat))
Stdout.log("Error: unable to set audio format - program aborted");
System.exit(0);
// merge the two data sources
DataSource mixedDataSource = null;
try
DataSource dArray[] = new DataSource[2];
dArray[0] = videoDataSource;
dArray[1] = audioDataSource;
mixedDataSource = javax.media.Manager.createMergingDataSource(dArray);
catch (IncompatibleSourceException ise) { Stdout.logAndAbortException(ise); }
// create a new processor
// setup output file format ->> msvideo
FileTypeDescriptor outputType = new FileTypeDescriptor(FileTypeDescriptor.MSVIDEO);
// setup output video and audio data format
Format outputFormat[] = new Format[2];
outputFormat[0] = new VideoFormat(VideoFormat.INDEO50);
outputFormat[1] = new AudioFormat(AudioFormat.GSM_MS /* LINEAR */);
// create processor
ProcessorModel processorModel = new ProcessorModel(mixedDataSource, outputFormat, outputType);
Processor processor = null;
try
processor = Manager.createRealizedProcessor(processorModel);
catch (IOException e) { Stdout.logAndAbortException(e); }
catch (NoProcessorException e) { Stdout.logAndAbortException(e); }
catch (CannotRealizeException e) { Stdout.logAndAbortException(e); }
// get the output of the processor
DataSource source = processor.getDataOutput();
// create a File protocol MediaLocator with the location
// of the file to which bits are to be written
MediaLocator dest = new MediaLocator("file:testcam.avi");
// create a datasink to do the file
DataSink dataSink = null;
MyDataSinkListener dataSinkListener = null;
try
dataSink = Manager.createDataSink(source, dest);
dataSinkListener = new MyDataSinkListener();
dataSink.addDataSinkListener(dataSinkListener);
dataSink.open();
catch (IOException e) { Stdout.logAndAbortException(e); }
catch (NoDataSinkException e) { Stdout.logAndAbortException(e); }
catch (SecurityException e) { Stdout.logAndAbortException(e); }
// now start the datasink and processor
try
dataSink.start();
catch (IOException e) { Stdout.logAndAbortException(e); }
processor.start();
Stdout.log("starting capturing ...");
try { Thread.currentThread().sleep(10000); } catch (InterruptedException ie) {} // capture for 10 seconds
Stdout.log("... capturing done");
// stop and close the processor when done capturing...
// close the datasink when EndOfStream event is received...
processor.stop();
processor.close();
dataSinkListener.waitEndOfStream(10);
dataSink.close();
Stdout.log("[all done]");
}finally search with the athour name there is an additional program u must download to detect ur cam .
i hope that is work with u -
Capturing live image from integrated Webcam using Labview
How can i capture live image from my laptop integrated webcam using LabVIEW ?
Even after installing all the IMAQ drivers, MAX is not displaying my integrated webcam ?
Why is it so ?
do i need to install some additional drivers for this ?
Thanks and Regards
Gaurav Palhi, you can use NI Vision Assistant
IDE ofNI Vision Assistant
..select acquire images
...select option 2
...select devices: CAM0 (default webcam), video mode resolution
...option 1 acquire single, option 2 acquire continuous
Atom
Certified LabVIEW Associate Developer -
Capture an image using the web camera from a web application
Hi All,
Could anyone please share the steps what have to be followed for capture an image using the web camera from a web application.
I have a similar requirement like this,
1) Detect the Webcam on the users machine from the web application.(To be more clear when the user clicks on 'Add Photo' tool from the web application)
2) When the user confirms to save, save the Image in users machine at some temporary location with some unique file name.
3) Upload the Image to the server from the temporary location.
Please share the details like, what can be used and how it can be used etc...
Thanks,
Suman1) Detect the Webcam on the users machine from the web application.(To be more clear when the user clicks on 'Add Photo' tool from the web application)There's not really any good way to do this with JMF. You'd have to somehow create a JMF web-start application that will install the native JMF binaries, and then kick off the capture device scanning code from the application, and then scan through the list of devices found to get the MediaLocator of the web cam.
2) When the user confirms to save, save the Image in users machine at some temporary location with some unique file name.You'd probably be displaying a "preview" window and then you'd just want to capture the image. There are a handful of ways you could capture the image, but it really depends on your situation.
3) Upload the Image to the server from the temporary location.You can find out how to do this on google.
All things told, this application is probably more suited to be a FMJ (Freedom for Media in Java) application than a JMF application. JMF relies on native code to capture from the web cams, whereas FMJ does not.
Alternately, you might want to look into Adobe Flex for this particular application. -
I want to capture an image from a camera, give it a specific
name and store it in a specific directory. In this case the camera
is the Microsoft Lifecam VX-3000.
The end result is to create a form that collects some
information about an item have a button that has the camera take a
picture that is re-named to the item number.
Any ideas which direction to go?1) Detect the Webcam on the users machine from the web application.(To be more clear when the user clicks on 'Add Photo' tool from the web application)There's not really any good way to do this with JMF. You'd have to somehow create a JMF web-start application that will install the native JMF binaries, and then kick off the capture device scanning code from the application, and then scan through the list of devices found to get the MediaLocator of the web cam.
2) When the user confirms to save, save the Image in users machine at some temporary location with some unique file name.You'd probably be displaying a "preview" window and then you'd just want to capture the image. There are a handful of ways you could capture the image, but it really depends on your situation.
3) Upload the Image to the server from the temporary location.You can find out how to do this on google.
All things told, this application is probably more suited to be a FMJ (Freedom for Media in Java) application than a JMF application. JMF relies on native code to capture from the web cams, whereas FMJ does not.
Alternately, you might want to look into Adobe Flex for this particular application. -
Acquiring a webcam image without vision toolbox
I am trying to capture an image from a webcam (or even a cheap digital camera) as part of a project I am doing. I simply want labview to take a picture and save it on command. However, everything i have searched requires the vision toolbox (a $4K+ addition) which is simply out of my range as a student. Does anyone one know a simple way to capture and save an image?
Thanks!Hi CanadianKyle,
Examples, tutorials and articles on interfacing a webcam with LabVIEW without NI-IMAQ or some type of NI Vision Acquisition Softare are scarce. Depending on the lifetime of the project you are working on I would recommend downloading an evaluation copy (free for 30 days) of NI-IMAQ from ni.com. You can then make use of a number of examples to accomplish your goal including the one in the URL below:
https://decibel.ni.com/content/docs/DOC-3479
Otherwise, I can refer you to these forum posts that could possibly be of some hepl to you:
http://forums.ni.com/t5/LabVIEW/2-hours-finished-the-webcam-program/m-p/782481?requireLogin=False
http://forums.ni.com/t5/LabVIEW/Grab-images-from-USB-Webcam-Peter-Paret-s-driver-too-slow/m-p/736552...
http://forums.ni.com/t5/forums/searchpage/tab/message?submitted=true&q=avicap32.dll
The evaluation copy of some NI Vision softare is probably you're best bet. Without it, my research doesn't seem to show any standard or straight-forward way to interface a laptop webcam with LabVIEW.
I hope this information helps!
Regards,
James D.
Applications Engineer
National Instruments -
"Unable to capture window image"
if I select a window to be screenshot, I get this error:
Your screen shot can’t be saved.
Unable to capture window image.
(shortcut: cmd-shift-4 and then space)
It seems to be new in Lion. Never had that problem before. And regular screenshots seem to work fine (cmd-shift-3).
Thanks for any help! ~ KaiThanks Davide ...
I created com.apple.screencapture.plist with Terminal and restarted the Mac.
The first couple of window screenshots worked on a Chrome browser window (command-shift-4, then space bar). But it did not work on other app's windows (Finder, Carousel).
Then I switched back to Chrome and I didn't work there too anymore. Crazy thing is that now it works on Finder windows. Very very strange.
All this is only true for capturing a whole window content (command-shift-4, then space bar)
~ Kai -
Camera - Torch 9800 - Unable to capture the image
Hey everyone!
Had a torch 9800 for 18 months now and always been working fine... until today.
I went to use the camera and it all seemed to open up fine but instead of seeing what the lens sees the screen was black. The centre focus [ ] was there and I could zoom back and forth just a black screen.
When I click for a photo I get a message " Unable to capture the image "
I have searched the web and found nothing conclusive. Battery pulls, a full wipe and installation of the o/s have made no difference to it's lack of function.
Does anyone out there have a suggestion?I am having the exact same issue. I also tried rebooting, taking out the battery and sim card and cleaning out the back, alas no difference.
-
Deployment Workbench - how to capture an image after customisation?
I have deployed Vista to a machine using WinPE (Created through Workbench) and chose the option when deploying "Prepare for capture"
I then customised Vista - in this case removing the Fax applications and ran Sysprep with OOBE, Generalise and Shutdown.
In workbench I created a new task sequence 'Standard Client Replace task sequence' which seems to be the right task to capture an image.
When selecting the task when booting the machine with WinPE, it forces me to capture the user data - I cannot select 'Do not save data and settings'
I must be doing something wrong!
What I want to do is:
Deploy Vista
Install some apps manually i.e. not using a task sequence
Capture the image
Deploy to machines
How can I do this using Workbench? Thanks.Hi,
Thank you for the reply.
I suggest referring to the following article:
Creating a Computer Image
http://technet.microsoft.com/en-us/library/bb977918.aspx
If you select “Capture an image of this reference computer” on the “Specify whether to capture an image” page when running Deployment Wizard, it will sysprep and capture the system for you automatically.
If you would like to
“Install Vista and prepare for capture
Install my own applications WITHOUT using task sequences
Capture the OS”,
I am afraid that you do not need to use MDT (you cannot perform a LTI without running Task Sequences). You can do this by only using WDS.
1. Install and configure the WDS Server.
2. Add the default Windows Server 2008 boot image to the WDS Server.
3. Create Capture Boot Image and add it to boot image in WDS Server.
4. Create a reference computer (install the operating system, applications, and make any other changes)
5. Sysprep.
6. PXE boot the reference computer into capture image on the boot screen and then capture the image (If non-PXE supported, make a discover image to boot)
7. Upload the captured image to WDS server.
8. Clients can PXE boot and install Windows (If non-PXE supported, use a discover image to boot).
Hope it helps.
Tim Quan - MSFT -
How to capture an image from a clip
Hi,
Is there a way to capture an image from a movie clip using iMovie 06?
I would like to save some frames from the vedio footage as photos.
Any help will be greatly appreciated. Thank you.
New Mac User
Mac OS X (10.4.5)Hi iMac User:
Yes-you can save a single frame from iMovie by selecting the File-->Save Frame As option. From there it will ask you where and in what format you want to save it.
Just be aware that the quality won't be perfect because it is taken from a video clip.
Sue -
How to capture an image and save it using action script
Hello,
I need to know if is posible to capture an image or a screen region and save it using action scrip.
Somebody know how to do it ??
Thanksyou can capture an image using the bitmapdata class and getPixel(). you can then save that to a bitmap using server-side code like php.
-
How to capture an image from my usb camera and display on my front panel
How to capture an image from my usb camera and display on my front panel
Install NI Vision Acquisition Software and NI IMAQ for USB and open an example.
Christian -
How to capture an image with the camera axis
Hi,
I have an camera axis. I can receive the video. Now I try to capture an image, for example when I push the button take. I do the .vi but I confused between the different Method.
SaveCurrentImageave the current Image
GetImage:Gets the data corresponding to the image currently being
displayed.SetImage:Adds an Image to the Clipboard in the Bitmap format
That I search is to know if to capture image and saving when I push an button I need to put all Icons so SetImage after Getimage and SavecurrentImage.
I put my .vi.
Attachments:
Capture_image.vi 11 KBHello,
Did you download the kit sdkfor using the axis media control active X:
http://www.axis.com/fr/techsup/cam_servers/dev/activex.htm
Did you test the sample and did you test with another language?
Regards,
Nacer M. | Certified LabVIEW Architecte -
Capturing an image to use for PXE boot
I'm using Windows Deployment Services in conjunction with Windows Deployment Terminal (Windows Server 2008) to capture an image from one of our workstations to use as a PXE boot image for future computers. I've created the capture image and PXE booted
to that image, which brings up the "Image Capture" wizard. After capturing the image, I created an install image in WDS using the same .wim file. After trying to PXE boot, the workstation yet again brings up the "Image Capture" wizard.
I then right clicked the image under Boot Images (in WDS) and selected "Create Discover Boot Image." A loading window pops up, but always ends with an error saying something to the extent of the image doesn't have WDSClient Binaries. Does anyone
know what this is or how to fix this? Or even if I'm going about it the right way? If anyone has any advice, I'd appreciate it.Hi,
Yes, you can.
Here are the rough steps:
1.
Install and configure the WDS Server.
2.
Add the Windows 7 boot image to WDS.
3.
Create a Capture Boot Image and add it to Boot Image.
4.
Create a reference Windows 7 computer (install Windows 7, Office and other applications as you like)
5.
Sysprep the Windows 7 computer.
6.
PXE boot the reference Windows 7 computer into capture image on the boot screen and then capture the image.
7.
Upload the captured image to WDS server.
8.
PXE boot clients, choose the captured image to install the system.
Please refer to this link
http://social.technet.microsoft.com/Forums/windowsserver/en-US/be3af7db-b71b-4b14-b166-fef83cde0ac6/deploy-windows-7-from-waik-with-some-application-added?forum=winserversetup
I had the similar problem couple of years back
UMESH DEUJA MCP,MCTS,MCSA,CCNA
Maybe you are looking for
-
How do I get the size to show when creating a line or a shape?
Hello, Before, when I created lines or shapes in illustrator a small window would show the size of whatever I was creating. Now it does not show up and I have no idea what the size is of the shape or line. I'm sure there is a simple solution to this
-
I have 50$ put I can't use because I forget my answer question
Please help me I have 48$ put I can't use because I forget my I count answer of question can help me please thank you
-
Why do I not get pictures in the Today's highlights blank squares
when ever I click on a news item the picture donly appears as a gray square
-
Hi, I wish to generate a popup for multiple nodes selected on a JTree. I need to query the nodes user objects to decide on the contents of the popup. How can I get the user objects of the selected nodes when the selection methods simply return TreePa
-
hello anybody can tell me how to make a java program run in the background without a console, just like apache running in the background without any console or other windows. thanks in advance