Welcome Guest! To enable all features, please Login or Register.

Notification

Icon
Error

Options
View
Last Go to last post Unread Go to first unread post
#1 Posted : Monday, October 27, 2008 10:35:46 AM(UTC)

jigar  
Guest

Groups: Guests
Posts: 3,022

Was thanked: 2 time(s) in 2 post(s)

For this demo you will require Imaging Pro v16 toolkit and of the Multimedia v16 toolkit.  This demo shows you how to use the Video Callback filter and the Imaging Pro toolkit with COM Interop to take a still image and saving it out.  There are 2 reasons for using the Video Callback filter over the more simple GetStillDIB()/SaveStillDIB() method:

1.  If your card doesn't support GetStillDIB()/SaveStillDIB().
2.  You want to take a still while you are capturing the video.  (If you called StartCapture(ltmmCapture_Mode_Video) you cannot call GetStillDIB()/SaveStillDIB().)  With the Video Callback filter you can take a still while it's in video capture mode or if the capture has not been started.

This is a VB6 project, and you simply extract it and build the exe or run the project.  Once you have it running follow these steps:

1.  Select your video device and press the "Switch to Selected Device" button.
2.  Press the "Take Still" button.  You will be shown the still image to the right.
3.  Press the "Save Still Image" button to save it to file.  It will save it as a BMP, but you can modify the code to save it as any format supported.
File Attachment(s):
SimpleCallback.zip (4kb) downloaded 93 time(s).
 

Try the latest version of LEADTOOLS for free for 60 days by downloading the evaluation: https://www.leadtools.com/downloads

Wanna join the discussion? Login to your LEADTOOLS Support accountor Register a new forum account.

You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.

Powered by YAF.NET | YAF.NET © 2003-2024, Yet Another Forum.NET
This page was generated in 0.033 seconds.