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 : Wednesday, October 5, 2005 4:05:23 AM(UTC)

Travis  
Travis

Groups: Registered, Tech Support
Posts: 207

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

This example shows how to use LEAD's Raster COM objects to draw an ellipse from within our Video Callback Filter's callback function.  It uses LEAD's Raster COM objects, LEAD Multimedia COM objects, and LEAD's Video Callback Filter.  The project is written in C# with .NET 2003. 

In order to process the callback you have to create a .NET class derived from the Video Callback Filter and have the class override the Callback function.  In the attached project the class is called LEADCallback and it's implementation can be found in the file LEADCallback.cs.  I put all the code for drawing on the frame in the callback function.

File Attachment(s):
Travis Montgomery
Senior Sales Engineer
LEAD Logo
 

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.

#2 Posted : Wednesday, October 11, 2017 9:32:28 AM(UTC)
Anthony Northrup

Groups: Registered, Tech Support, Administrators
Posts: 199

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

Updated to LEADTOOLS v19 with Visual Studio 2017. Also changed project to automatically select dll's for running in 32-bit and 64-bit.
Extract folder to "C:\LEADTOOLS 19\Examples\DotNet\CS\" to use the example.

No longer uses Raster COM objects, instead uses the Imaging SDK directly, specifically "Leadtools.Drawing".
File Attachment(s):
CS_VideoCallbackFilter.zip (9kb) downloaded 545 time(s).
Anthony Northrup
Developer Support Engineer
LEAD Technologies, Inc.

LEAD Logo
 
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.108 seconds.