Results 1 to 2 of 2

Thread: Quick capturing frames

  1. #1
    Join Date
    Feb 2012

    Quick capturing frames

    Hello! I have a 22BUC03 Camera. Trying to understand the C++ library code.

    I need to get to my internal memory the captured frame. All I found in examples writes the frames to hwnd or to avi file. I need the full 76 fps video stream.

    something like:


    How Can I realize the QuicklyGetFrame function? I tried something like:

    MemBufferCollection::tMemBufferPtr getSingleFrame( Grabber& gr, tColorformatEnum type )
    smart_ptr<FrameHandlerSink> pHandlerSink = FrameHandlerSink::create(type, 1);


    //Sleep(250); // give the device time to adjust automatic settings i.e. auto exposure
    pHandlerSink->snapImages(1, 2000);

    // get pointer to the image data
    return pHandlerSink->getLastAcqMemBuffer();

    even without Sleep(250); the capturing is slow, something like 3 fps. What should I do?

    Thanks in advance.

    P.S. the examples that show video stream to window work perfectly.
    Last edited by aspsnake; February 9, 2012 at 13:20:25.

  2. #2
    Join Date
    Jan 2003
    Bremen, Germany

    Re: Quick capturing frames


    First of all, start the camera only. Do not call stopLive(). The startLive is the time consuming call.

    Secondly: snapImages() will snap the next complete frame. That means, a frame currently in delivery will be dropped. Therefore, you can achieve half frame rate with this only.

    What do you want to do with the frames? Maybe the "callback" sample shows, what you need. In case you want to handle each incoming frame automatically, you need to change the snapmode in this sample to false. Then snapImages is no longer needed and CListener::frameReady will be called for every incoming frame automatically.
    Best regards
    IC Imaging Control Support

Similar Threads

  1. DBK 41AF02.AS and 15 frames per second
    By DBKooper in forum Astronomy Cameras Support Forum
    Replies: 1
    Last Post: August 13, 2007, 16:04:04
  2. ICImageControl Quick Answer wanted from the developer
    By zwzhang28 in forum IC Imaging Control .NET
    Replies: 3
    Last Post: March 23, 2007, 08:34:42
  3. merge frames
    By samgigliotti in forum MontiVision Development Kit
    Replies: 5
    Last Post: January 30, 2006, 13:57:27
  4. about capturing frames with Sony XCD-X700
    By Unregistered in forum IC Imaging Control ActiveX
    Replies: 1
    Last Post: December 5, 2002, 19:20:50

Tags for this Thread


Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts