Capture image from isight

What is the best way to capture images from iSight using Applescript ?

erritikamathur wrote:
What is the best way to capture images from iSight using Applescript
(1) Depending on what you want to do, you may be able to use your "Automator" application to make your scripts instead (Automator calls them "workflows".)
When you launch Automator, you can immediately select the "Photos & Images" as a starting point to see if it will meet your needs by selecting "my Computer's Camera" in the "Get content from:" choices bar there.
For more info on Automator, start with Mac 101: Automator and then launch Automator on your Mac and use its Automator > Help as needed.
(2) If you really need to use AppleScript, you need to understand that you script applications (such as iChat), not devices (like iSight.) Therefore, first decide what you want to do with your iSight. Click -> here to see a list of some applications that can operate your iSight.
Once you have decided what you want to do, launch your Mac's AppleScript Script Editor.
Next, open Script Editor's Library window to see a list of Apple apps that are scriptable. Those that can control iSight include iChat, iMovie, and iPhoto. Double-click on one of the apps of interest to see the dictionary of functions that can be scripted in that application. Reviewing the library for any app will help you determine whether the functions you want to control can be scripted in that app. If not, you need to find another app that can control that function, develop an alternate process flow that can be scripted, or look for a way to accomplish your task other than with AppleScript.
Some third party apps may also be scriptable. See the documentation or support info for particulars directly from the developers of those apps.
More help is available from a variety of sources. For instance, you can check your Mac's Help on specific applications to see if they contain info on automating them. One specific example is iChat > Help, which gives a good start on your iChat study.
Unless you already know how to use AppleScript, you may also need to do some more general study or perhaps take advantage of the Apple training series book available from the Apple Store.
EZ Jim
G5 DP 1.8GHz w/Mac OS X (10.5.7) PowerBook 1.67GHz (10.4.11)   iBookSE 366MHz (10.3.9)  External iSight

Similar Messages

  • Problem with capture image from wc

    hi all, i want to capture image from my webcam and play it, but it's not work
    please help me, here's code
    public class Demo extends JFrame {
          * @param args
         public static void main(String[] args) {
              // TODO Auto-generated method stub
              Demo demo = new Demo();
         public Demo() {
              super();
              int a=30;
              final JPanel panel = new JPanel();
              getContentPane().add(panel, BorderLayout.CENTER);
              setVisible(true);
              DataSource dataSource = null;
              PushBufferStream pbs;
              Vector deviceList = CaptureDeviceManager.getDeviceList(new VideoFormat(null));
              CaptureDeviceInfo deviceInfo=null;boolean VideoFormatMatch=false;
              for(int i=0;i<deviceList.size();i++) {
              // search for video device
              deviceInfo = (CaptureDeviceInfo)deviceList.elementAt(i);
              if(deviceInfo.getName().indexOf("vfw:/")<0)continue;
              VideoFormat videoFormat=new VideoFormat("YUV");
              System.out.println("Format: "+ videoFormat.toString());
              Dimension size= videoFormat.getSize();
              panel.setSize(size.width,size.height);
              MediaLocator loc = deviceInfo.getLocator();
              try {
                   dataSource = (DataSource) Manager.createDataSource(loc);
                   // dataSource=Manager.createCloneableDataSource(dataSource);
                   } catch(Exception e){}
                   Thread.yield();
                   try {
                        pbs=(PushBufferStream) dataSource.getStreams()[0];
                        ((com.sun.media.protocol.vfw.VFWSourceStream)pbs).DEBUG=true;
                        } catch(Exception e){}
                        Thread.yield();
                        try{dataSource.start();}catch(Exception e){System.out.println("Exception dataSource.start() "+e);}
                        Thread.yield();
                        try{Thread.sleep(1000);}catch(Exception e){} // to let camera settle ahead of processing
    }

    iTool wrote:
    hi all, i want to capture image from my webcam and play it, but it's not workThat's a very descriptive error message, "it's not work". Everyone on the board will certainly be able to help you out with that.
    The first error I see is that you're using the CaptureDeviceManager in an applet. If T.B.M pops in here, he can tell you why that's going to be a CF 99% of the time.
    The other error I see is that your code looks absolutely nothing like any working JMF webcam capture code I've personally ever seen.
    Lastly, the big one, even if you were somehow capturing video magically, you're not even trying to display it...so I'm not entirely sure why you expect to see anything with the code you just posted.
    [http://java.sun.com/javase/technologies/desktop/media/jmf/2.1.1/solutions/JVidCap.html]
    Your best bet would be starting over and using the example code from the page linked above.

  • Capturing images from camera and uploading to sharepoint library automatically.

    Hello Everyone,
    My requirement is to capturing images from camera and uploading to sharepoint library automatically. No manual uploading will take place.
    Please suggest me.
    Thanks,
    Rajesh

    Hi,
    From your description, my understanding is that you want to capturing images from camera and uploading to sharepoint library automatically automatically upload images to SharePoint library.
    You will save images in your local computer after capturing visitors’ image. You could develop a custom timer job to periodically get pictures from the local folder in your computer. Please refer to this article:
    Create and Deploy Custom Timer Job Definition in SharePoint Programatically
    http://www.codeproject.com/Tips/634208/Create-and-Deploy-Custom-Timer-Job-Definition-in-S
    you could upload pictures to your SharePoint from the folder with C# code, please refer to this article:
    How to: Upload a File to a SharePoint Site from a Local Folder
    https://msdn.microsoft.com/en-us/library/office/ms454491%28v=office.14%29.aspx?f=255&MSPPError=-2147217396
    Best Regards,
    Vincent Han
    TechNet Community Support
    Please remember to mark the replies as answers if they help, and unmark the answers if they provide no help. If you have feedback for TechNet Support, contact
    [email protected]

  • Capture images from Camera directly at high resolution

    Hello Users,
    I want to capture images from Camera directly at high
    resolution. The problem is that although I am able to capture
    images from a Video Object, but the images are small because the
    Video size is only 160x120. So if I am able to capture directly
    from Camera, I am sure to get a higher resolution images at which
    the camera is capturing.
    Any help in this matter will be of great help

    Hello Users,
    I want to capture images from Camera directly at high
    resolution. The problem is that although I am able to capture
    images from a Video Object, but the images are small because the
    Video size is only 160x120. So if I am able to capture directly
    from Camera, I am sure to get a higher resolution images at which
    the camera is capturing.
    Any help in this matter will be of great help

  • When capturing images from a Nikon D600, they show in Bridge, but when clicked to load into CS6,an error message says that it is the wrong type of document, even jpeg files. This is a NEW frustration.

    When capturing images from a Nikon D600, they show in Bridge, but when clicked to load into CS6,an error message says that it is the wrong type of document, evne jpeg files. This is a NEW frustration.

    Nikon raw files would open up in Adobe Camera Raw and so should jpegs.
    If you select one in Bridge and give the command "Ctrl r" (Windows), what happens?
    Also what is the version of ACR in the title bar?
    Gene
    Note: unmark your question as "answered". the green balloon next to the subject shows it as "solved".

  • Capturing image from Webcam

    Hi,
    Is there any way in which Java can be used to capture images from the webcam and save it to a predefined image file name?
    Any examples out there?
    Alternatively, I could have the application written in other languages, but still, I would need my main Java app to launch this external app.
    Thanks alot.

    Hi,
    Is there any way in which Java can be used to capture
    images from the webcam and save it to a predefined
    image file name?
    Any examples out there?
    Alternatively, I could have the application written in
    other languages, but still, I would need my main Java
    app to launch this external app.
    Thanks alot.Yes, the ExampleSave from the JavaTwain package at http://www.gnome.sk does this job :)
    If you just want to see how Java Twain works with your webcam (works with a scanner too):
    - java (1.2 or higher for Windows, 1.3 or higher for Mac OS X) has to be installed on your computer
    - a scanner or camera has to be installed on your computer
    - download the trial package from http://www.gnome.sk
    - unzipp it
    - go to the examples directory of the unzipped package
    - in Windows: doubleclick the runExampleShow.bat
    - in MacOS:
        - open the Terminal window
        - change the working directory to the examples
        - run .sh file (type ExampleShow.sh or sh ExampleShow.sh)
    This will pop up the Twain Source Selection user interface. There, all your scanners and cameras which do have a twain driver should be listed. (About 90% of scanners and cameras on the market do have a twain driver for Windows, only a few do have a twain driver for MacOS.) Select one of them. The user interface of the selected scanner (camera) will appear. Confirm the scanning (you can set the scanning parameters first). The scanned image will be displayed in a separate window. To end the application, close that window.
    Running different examples, you can test scanning with hidden UI, saving the scanned image, using ADF, ...
    If there is any problem, do not hesitate to inquire about it at the technical support, email: [email protected] . I am the member of the staff :)
    Erika Kupkova

  • Capture Image from Screen and Yosemite Mail

    Composing a new mail message in Yosemite. If use the pull-down option to Capture Image from Screen and place the image in the message body (HTML), the image is not being sent with the message. A broken image icon is sent instead.
    If, on the other hand, I use the paperclip to add an image file to the message body all is well. Same if I copy and paste an image into the message body.
    In both those cases where it works, I also get the Markup pulldown to edit the image. In the Capture Image from Screen case where it doesn't work I also don't get the Markup pulldown menu and options.
    Anyone else seeing this? Is it a known bug with Yosemite or just on my side?

    I'm actually experiencing the same thing, i asked my officemate and he is also getting the same error when using capture on mac mail

  • Errors in code that captures images from webcam

    Here is the code
    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 com.sun.media.vfw.VFWCapture; // JMF 2.1.1c version
    import com.sun.media.protocol.vfw.VFWCapture; // JMF 2.1.1e version
    public class JWebCam extends JFrame
    implements WindowListener, ComponentListener
    protected final static int MIN_WIDTH = 320;
    protected final static int MIN_HEIGHT = 240;
    protected static int shotCounter = 1;
    protected JLabel statusBar = null;
    protected JPanel visualContainer = null;
    protected Component visualComponent = null;
    protected JToolBar toolbar = null;
    protected MyToolBarAction formatButton = null;
    protected MyToolBarAction captureButton = null;
    protected Player player = null;
    protected CaptureDeviceInfo webCamDeviceInfo = null;
    protected MediaLocator ml = null;
    protected Dimension imageSize = null;
    protected FormatControl formatControl = null;
    protected VideoFormat currentFormat = null;
    protected Format[] videoFormats = null;
    protected MyVideoFormat[] myFormatList = null;
    protected boolean initialised = false;
    * Constructor
    public JWebCam ( String frameTitle )
    super ( frameTitle );
    try
    UIManager.setLookAndFeel("javax.swing.plaf.metal.MetalLookAndFeel");
    catch ( Exception cnfe )
    System.out.println ("Note : Cannot load look and feel settings");
    setSize ( 320, 260 ); // default size...
    addWindowListener ( this );
    addComponentListener ( this );
    getContentPane().setLayout ( new BorderLayout() );
    visualContainer = new JPanel();
    visualContainer.setLayout ( new BorderLayout() );
    getContentPane().add ( visualContainer, BorderLayout.CENTER );
    statusBar = new JLabel ("");
    statusBar.setBorder ( new EtchedBorder() );
    getContentPane().add ( statusBar, BorderLayout.SOUTH );
    * Initialise
    * @returns true if web cam is detected
    public boolean initialise ( )
    throws Exception
    return ( initialise ( autoDetect() ) );
    * Initialise
    * @params _deviceInfo, specific web cam device if not autodetected
    * @returns true if web cam is detected
    public boolean initialise ( CaptureDeviceInfo _deviceInfo )
    throws Exception
    statusBar.setText ( "Initialising...");
    webCamDeviceInfo = _deviceInfo;
    if ( webCamDeviceInfo != null )
    statusBar.setText ( "Connecting to : " + webCamDeviceInfo.getName() );
    try
    setUpToolBar();
    getContentPane().add ( toolbar, BorderLayout.NORTH );
    ml = webCamDeviceInfo.getLocator();
    if ( ml != null )
    player = Manager.createRealizedPlayer ( ml );
    if ( player != null )
    player.start();
    formatControl = (FormatControl)player.getControl ( "javax.media.control.FormatControl" );
    videoFormats = webCamDeviceInfo.getFormats();
    visualComponent = player.getVisualComponent();
    if ( visualComponent != null )
    visualContainer.add ( visualComponent, BorderLayout.CENTER );
    myFormatList = new MyVideoFormat[videoFormats.length];
    for ( int i=0; i<videoFormats.length; i++ )
    myFormatList = new MyVideoFormat ( (VideoFormat)videoFormats );
    Format currFormat = formatControl.getFormat();
    if ( currFormat instanceof VideoFormat )
    currentFormat = (VideoFormat)currFormat;
    imageSize = currentFormat.getSize();
    visualContainer.setPreferredSize ( imageSize );
    setSize ( imageSize.width, imageSize.height + statusBar.getHeight() + toolbar.getHeight() );
    else
    System.err.println ("Error : Cannot get current video format");
    invalidate();
    pack();
    return ( true );
    else
    System.err.println ("Error : Could not get visual component");
    return ( false );
    else
    System.err.println ("Error : Cannot create player");
    statusBar.setText ( "Cannot create player" );
    return ( false );
    else
    System.err.println ("Error : No MediaLocator for " + webCamDeviceInfo.getName() );
    statusBar.setText ( "No Media Locator for : " + webCamDeviceInfo.getName() );
    return ( false );
    catch ( IOException ioEx )
    statusBar.setText ( "Connecting to : " + webCamDeviceInfo.getName() );
    return ( false );
    catch ( NoPlayerException npex )
    statusBar.setText ("Cannot create player");
    return ( false );
    catch ( CannotRealizeException nre )
    statusBar.setText ( "Cannot realize player");
    return ( false );
    else
    return ( false );
    * Dynamically create menu items
    * @returns the device info object if found, null otherwise
    public void setFormat ( VideoFormat selectedFormat )
    if ( formatControl != null )
    player.stop();
    imageSize = selectedFormat.getSize();
    formatControl.setFormat ( selectedFormat );
    player.start();
    statusBar.setText ( "Format : " + selectedFormat );
    currentFormat = selectedFormat;
    visualContainer.setPreferredSize ( currentFormat.getSize() );
    setSize ( imageSize.width, imageSize.height + statusBar.getHeight() + toolbar.getHeight() );
    else
    System.out.println ("Visual component not an instance of FormatControl");
    statusBar.setText ( "Visual component cannot change format" );
    public VideoFormat getFormat ( )
    return ( currentFormat );
    protected void setUpToolBar ( )
    toolbar = new JToolBar();
    // Note : If you supply the 16 x 16 bitmaps then you can replace
    // the commented line in the MyToolBarAction constructor
    formatButton = new MyToolBarAction ( "Resolution", "BtnFormat.jpg" );
    captureButton = new MyToolBarAction ( "Capture", "BtnCapture.jpg" );
    toolbar.add ( formatButton );
    toolbar.add ( captureButton );
    getContentPane().add ( toolbar, BorderLayout.NORTH );
    protected void toolbarHandler ( MyToolBarAction actionBtn )
    if ( actionBtn == formatButton )
    Object selected = JOptionPane.showInputDialog (this,
    "Select Video format",
    "Capture format selection",
    JOptionPane.INFORMATION_MESSAGE,
    null, // Icon icon,
    myFormatList, // videoFormats,
    currentFormat );
    if ( selected != null )
    setFormat ( ((MyVideoFormat)selected).format );
    else if ( actionBtn == captureButton )
    Image photo = grabFrameImage ( );
    if ( photo != null )
    MySnapshot snapshot = new MySnapshot ( photo, new Dimension ( imageSize ) );
    else
    System.err.println ("Error : Could not grab frame");
    * autoDetects the first web camera in the system
    * searches for video for windows ( vfw ) capture devices
    * @returns the device info object if found, null otherwise
    public CaptureDeviceInfo autoDetect ( )
    Vector list = CaptureDeviceManager.getDeviceList ( null );
    CaptureDeviceInfo devInfo = null;
    if ( list != null )
    String name;
    for ( int i=0; i<list.size(); i++ )
    devInfo = (CaptureDeviceInfo)list.elementAt ( i );
    name = devInfo.getName();
    if ( name.startsWith ("vfw:") )
    break;
    if ( devInfo != null && devInfo.getName().startsWith("vfw:") )
    return ( devInfo );
    else
    for ( int i = 0; i < 10; i++ )
    try
    name = VFWCapture.capGetDriverDescriptionName ( i );
    if (name != null && name.length() > 1)
    devInfo = com.sun.media.protocol.vfw.VFWSourceStream.autoDetect ( i );
    if ( devInfo != null )
    return ( devInfo );
    catch ( Exception ioEx )
    // ignore errors detecting device
    statusBar.setText ( "AutoDetect failed : " + ioEx.getMessage() );
    return ( null );
    else
    return ( null );
    * deviceInfo
    * @note outputs text information
    public void deviceInfo ( )
    if ( webCamDeviceInfo != null )
    Format[] formats = webCamDeviceInfo.getFormats();
    if ( ( formats != null ) && ( formats.length > 0 ) )
    for ( int i=0; i<formats.length; i++ )
    Format[] aFormat = formats;
    if ( aFormat[i] instanceof VideoFormat )
    Dimension dim = ((VideoFormat)aFormat).getSize();
    // System.out.println ("Video Format " + i + " : " + formats.getEncoding() + ", " + dim.width + " x " + dim.height );
    else
    System.out.println ("Error : No web cam detected");
    * grabs a frame's buffer from the web cam / device
    * @returns A frames buffer
    public Buffer grabFrameBuffer ( )
    if ( player != null )
    FrameGrabbingControl fgc = (FrameGrabbingControl)player.getControl ( "javax.media.control.FrameGrabbingControl" );
    if ( fgc != null )
    return ( fgc.grabFrame() );
    else
    System.err.println ("Error : FrameGrabbingControl is null");
    return ( null );
    else
    System.err.println ("Error : Player is null");
    return ( null );
    * grabs a frame's buffer, as an image, from the web cam / device
    * @returns A frames buffer as an image
    public Image grabFrameImage ( )
    Buffer buffer = grabFrameBuffer();
    if ( buffer != null )
    // Convert it to an image
    BufferToImage btoi = new BufferToImage ( (VideoFormat)buffer.getFormat() );
    if ( btoi != null )
    Image image = btoi.createImage ( buffer );
    if ( image != null )
    return ( image );
    else
    System.err.println ("Error : BufferToImage cannot convert buffer");
    return ( null );
    else
    System.err.println ("Error : cannot create BufferToImage instance");
    return ( null );
    else
    System.out.println ("Error : Buffer grabbed is null");
    return ( null );
    * Closes and cleans up the player
    public void playerClose ( )
    if ( player != null )
    player.close();
    player.deallocate();
    player = null;
    public void windowClosing ( WindowEvent e )
    playerClose();
    System.exit ( 1 );
    public void componentResized ( ComponentEvent e )
    Dimension dim = getSize();
    boolean mustResize = false;
    if ( dim.width < MIN_WIDTH )
    dim.width = MIN_WIDTH;
    mustResize = true;
    if ( dim.height < MIN_HEIGHT )
    dim.height = MIN_HEIGHT;
    mustResize = true;
    if ( mustResize )
    setSize ( dim );
    public void windowActivated ( WindowEvent e ) { }
    public void windowClosed ( WindowEvent e ) { }
    public void windowDeactivated ( WindowEvent e ) { }
    public void windowDeiconified ( WindowEvent e ) { }
    public void windowIconified ( WindowEvent e ) { }
    public void windowOpened ( WindowEvent e ) { }
    public void componentHidden(ComponentEvent e) { }
    public void componentMoved(ComponentEvent e) { }
    public void componentShown(ComponentEvent e) { }
    protected void finalize ( ) throws Throwable
    playerClose();
    super.finalize();
    class MyToolBarAction extends AbstractAction
    public MyToolBarAction ( String name, String imagefile )
    // Note : Use version this if you supply your own toolbar icons
    // super ( name, new ImageIcon ( imagefile ) );
    super ( name );
    public void actionPerformed ( ActionEvent event )
    toolbarHandler ( this );
    class MyVideoFormat
    public VideoFormat format;
    public MyVideoFormat ( VideoFormat _format )
    format = _format;
    public String toString ( )
    Dimension dim = format.getSize();
    return ( format.getEncoding() + " [ " + dim.width + " x " + dim.height + " ]" );
    class MySnapshot extends JFrame
    protected Image photo = null;
    protected int shotNumber;
    public MySnapshot ( Image grabbedFrame, Dimension imageSize )
    super ( );
    shotNumber = shotCounter++;
    setTitle ( "Photo" + shotNumber );
    photo = grabbedFrame;
    setDefaultCloseOperation ( WindowConstants.DISPOSE_ON_CLOSE );
    int imageHeight = photo.getWidth ( this );
    int imageWidth = photo.getHeight ( this );
    setSize ( imageSize.width, imageSize.height );
    final FileDialog saveDialog = new FileDialog ( this, "Save JPEG", FileDialog.SAVE );
    final JFrame thisCopy = this;
    saveDialog.setFile ( "Photo" + shotNumber );
    addWindowListener ( new WindowAdapter()
    public void windowClosing ( WindowEvent e )
    saveDialog.show();
    String filename = saveDialog.getFile();
    if ( filename != null )
    if ( saveJPEG ( filename ) )
    JOptionPane.showMessageDialog ( thisCopy, "Saved " + filename );
    setVisible ( false );
    dispose();
    else
    JOptionPane.showMessageDialog ( thisCopy, "Error saving " + filename );
    else
    setVisible ( false );
    dispose();
    setVisible ( true );
    public void paint ( Graphics g )
    g.drawImage ( photo, 0, 0, getWidth(), getHeight(), this );
    * Saves an image as a JPEG
    * @params the image to save
    * @params the filename to save the image as
    public boolean saveJPEG ( String filename )
    boolean saved = false;
    BufferedImage bi = new BufferedImage ( photo.getWidth(null),
    photo.getHeight(null),
    BufferedImage.TYPE_INT_RGB );
    Graphics2D g2 = bi.createGraphics();
    g2.drawImage ( photo, null, null );
    FileOutputStream out = null;
    try
    out = new FileOutputStream ( filename );
    JPEGImageEncoder encoder = JPEGCodec.createJPEGEncoder ( out );
    JPEGEncodeParam param = encoder.getDefaultJPEGEncodeParam ( bi );
    param.setQuality ( 1.0f, false ); // 100% high quality setting, no compression
    encoder.setJPEGEncodeParam ( param );
    encoder.encode ( bi );
    out.close();
    saved = true;
    catch ( Exception ex )
    System.out.println ("Error saving JPEG : " + ex.getMessage() );
    return ( saved );
    } // of MySnapshot
    public static void main (String[] args )
    try
    JWebCam myWebCam = new JWebCam ( "TimeSlice Web Cam Capture" );
    myWebCam.setVisible ( true );
    if ( !myWebCam.initialise() )
    System.out.println ("Web Cam not detected / initialised");
    catch ( Exception ex )
    ex.printStackTrace();
    when I run it I get the following errors
    BufferToImage cannot convert buffer
    could not grab frame
    pls help

    Do you expect anyone to read this?
    http://forum.java.sun.com/help.jspa?sec=formatting
    By the way, you have a condition that makes it print those messages. Check why that condiiton isn't rue.

  • Iphoto captures images from Iphone 5s, image/s not supported

    When i capture photos from my iphone 5s to iPhoto, after copying says, photos are not supported. can you help me with this?

    What version of iPhoto? Of the OS?  How are you syncing (PhotoStream, iTunes, Image Capture, WiFi import, cable import)?
    Details are important to assisting you
    LN

  • How to capture image from USB camera in Labview 2010

    Hey all,
    I am very new to Labview but am working on a project that requires me to use a sensor to send a signal to Labview to capture an image from a USB camera and save.  Then apply some image processing to do some geometric calculations.  The calculation will be based on pixels so I guess the image needs to be in bitmap form.  Right now I am just trying to start with the image acquisition part and was wondering if this can be done in Labview 2010.  I have the vision toolbox and NXT Robotics.  Are there any examples on this website that will help and do I have te proper tools to do this?  Once I get the image capture/grab to work using labview, then I could work getting a sensor signal to trigger that capture and finally the processing side. 
    Like I said, I am very new to this so I am not sure if I need to download any particular drivers or vi's that I am missing or what those might be.  Can someone provide some insight, links, or any help would be appreciated.
    Thanks in advance for any help/suggestions.

    Hi wklove,
    In order to do vision with LabVIEW you need to to have the Vision development module and have NI Vision Acquisition Software (VAS) installed. It sounds like you are missing VAS you can download it here. Once you have this installed you should be able to see your camera in Measurement and Automation (MAX). After you are able to see the camera, take a look at the NI Example Finder by going to Help » Find Examples
    Joe Daily
    National Instruments
    Applications Engineer
    may the G be with you ....

  • Error retrieving newly captured image from a camera.

    Hello Everyone,
    I am developing a user<->digital camera interaction application and I have a
    problem with accessing newly captured picture. The thing is I am trying to save
    the picture directly to the hard disk(this is possible with the camera I am using).
    So normally, as stated in the camera PTP specification, the process can be described
    in the following steps:
    1). PTP command 'capture' - is send successfully to the camera( the camera captures).
    2). Event 'RequestObjectTransfer' of ObjectHandle 0x12345678 - is received from the
    camera and processed by my application.
    3). GetObjectInfo (of ObjectHandle (0x12345678) ) command should be send to the camera.
    4). ObjectInfo - received from the camera.
    5). GetObject (of ObjectHandle (0x12345678) command send to camera.
    6). Object of ObjectHandle (0x12345678) received from the camera.
    7). Event TransferReady.
    Everything works fine until I try to ask for the object's info:
    - (CFDictionaryRef*) copyObjectPropertyDictionary
    OSErr err;
    ICACopyObjectPropertyDictionaryPB pb = {};
    NSDictionary* dict;
    pb.theDict = (CFDictionaryRef *)&dict;
    pb.object = 0x12345678;
    err = ICACopyObjectPropertyDictionary(&pb, NULL); //(**)
    if (noErr != err)
    NSLog(@"Error retrieving object info!");
    else
    return dict; // CFDictionaryRef *
    return NULL;
    The call (**) in the code above results in "err == -9905(kICAInvalidObjectErr)", so can
    anybody tell me where my mistake is because there is obviously one (btw I
    wrote the same application for Windows and the id 0x12345678 is recognized there.)

    It is an OS X application, the GUI is already done(not all of the controlls are functional,
    there are really a lot of them as the camera tend to be 'semi-professional' == 'a lot of
    settings'). Actually, what my application can do at this point is read/write settings
    from/to the camera, can 'sense' some event notifications, can capture image when the
    camera is on external mode(no memory card) and the images are processed to the
    'Current User'/Pitures folder and finally can look pretty sexy
    The method that gave me headaches for a week or so was the common ICADownloaFile
    it was not recognized by this particular camera as was not the 'copyObjectPropertyDictionary'
    posted above. Instead I wrote two PTPPassThrough methods which are now accepted by the
    Cam.

  • Capture image from video live streaming

    Hi everyone ^^ 
    I have a question in my attached vi, I am able to have a live streaming video from my build in PC camera and take a pic from it too, the problem is it runs perfectly for the first time but the mint I press the button the image froze >< , I can not have my video back even when the case structure is fasle. Hope someone can help me with that 
    thanks a lot ^^ 
    Solved!
    Go to Solution.
    Attachments:
    Image Aquairing 2.vi ‏53 KB

    Hi ReChan,
    -IMAQ Snap Configures, starts, acquires, and unconfigures a snap acquisition.
    -For IMAQ Grab you're configuring initally. So, whenever you click boolean-imaq snap captures image and unconfigures the IMAQ session.
    -When you try to grab again, it will throw an error because IMAQ session isn't configured.
    -The mechanical action of boolean you kept as switch when pressed-it'll stay high-which results asking user for saving an image. instead i changed it to latch.
    Thanks
    uday,
    Please Mark the solution as accepted if your problem is solved and help author by clicking on kudoes
    Certified LabVIEW Associate Developer (CLAD) Using LV13
    Attachments:
    Image Aquairing 2.vi ‏53 KB

  • How to capture images from stageVideo container

    Hi,
    I am developing video conference application in flash with FMS4.5 and integrating StageVideo API for rendering video on hardware and it's working very nice but, I am not able to capture picture from StageVideo so If anybody have any idea/suggestions about capture picture from StageVideo then your suggestion will help more.
    Thanks
    Ram

    Hi,
    Thanks for your interest in StageVideo. The following resources might be useful:
    http://help.adobe.com/en_US/as3/dev/WSe9ecd9e6b89aefd2-68d5ef8f12cc8511f6c-8000.html
    http://help.adobe.com/en_US/FlashPlatform/reference/actionscript/3/flash/media/StageVideo. html
    http://everythingfla.com/quickies/stageVideo
    http://www.adobe.com/devnet/devices/articles/video_content_tv.html
    Thank you !

  • Capturing images from two web camera in real time

    Hi,
    I need to compare two pictures from two webcameras. I will make some easy computing on them, so there should be no speed problem, but i dont know how can i take each picture? is there any action which is called each time a frame comes? do sb have some sample code?
    thanks
    JJ

    Here's source code I posted to capture a frame from one webcam.
    http://forum.java.sun.com/thread.jspa?threadID=570463&tstart=25
    Lots of people have problems with multiple cameras, something to do with the
    Windows USB channels and failing to detect/select between the two.
    So, capturing frames from 1 web cam is relatively straightforward, but you may have serious problems with two or more.
    regards,
    Owen

  • Capture image from usb camera::step

    hi 
    i want use labview to caputre image from my webcam 
    what are the ni drivers that required or step??
    i use la 2012
    regards
    hi ?Q>

    Duplicate. Discussions will continue over there.
    Adnan Zafar
    Certified LabVIEW Architect
    Coleman Technologies

Maybe you are looking for

  • Nokia Belle upgrade on Nokia X7 - Security Code er...

    I have just upgraded to Belle software but now there is an annoying thing were I keep getting asked for a security code (which I hadn't used previously) on boot up, if you put the default code in it fails(12345,00000), but if you cancel you can still

  • Quartz Extreme or video card freezed new iMac every few minutes

    Hi, I recently bought a refurbished iMac because I wanted the ATI video card instead of the new nvidia ones. So it was great, I set it up in less then 5 minutes with zero prior knowledge of macs, and began to do stuff like the commercials, moving vid

  • Laptop not charging

    Hi all please help I'm experiencing a problem with my laptop when I plug it in on the screen info box it says cherger plugged in but not charging and on the batry it is showing that the plug is plugged in but not showing any movement of it getting fu

  • Report header on Excel Sheet

    Hi to all there, I am generatating my report output in excel format, I am getting the records but my report header is not coming on Excel. I have developed this report using reports6i. can anybody help me. Thanks in advance Manvar

  • Material substitution

    Hello, I am just writing an essay at university about lot sizing models with product substitution and thereby want to give a short look at the possibilities in SAP. I already found some topics in the SAP Help Portal concerning giving a customer a sub