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, February 7, 2011 5:25:31 AM(UTC)

aroig  
aroig

Groups: Registered
Posts: 7


Hello,
I need to let the user to draw a line over ltmmCapture and ltmmPlayback control when playing the software.
This line will be defined by cursor's position when clicking on dragging mouse while mouse's button pressed.

This line should be mantained drawn on image after being painted, while playing video or capturing.

Thank you very much,

Andreu
 

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 : Tuesday, February 8, 2011 5:40:19 AM(UTC)

Adam Boulad  
Guest

Groups: Guests
Posts: 3,034

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

Andreu,
You can try to use the LEAD Video Callback filter which will call a method on a user callback interface each time it receives a frame. This can be used to retrieve the image data for each frame and you can then use image processing (for example our Imaging toolkits) to draw on the stream.
There are Video Callback demos for different languages. They are installed here:
VB.NET:
LEADTOOLS17\Examples\Ltmm\Dotnet\VB\DrawOnVideo
C#:
LEADTOOLS17\Examples\Ltmm\Dotnet\CS\DrawOnVideo
C++:
LEADTOOLS17\Examples\Ltmm\Cpp\Callback
Visual Basic 6:
LEADTOOLS17\Examples\Ltmm\VB\CallBack

The details depend on which LEADTOOLS version (15, 16, etc.) and programming language you are using.
 
#3 Posted : Wednesday, February 9, 2011 5:03:09 AM(UTC)

aroig  
aroig

Groups: Registered
Posts: 7


Hello,
When trying to run CallBack example in VB6, a library is missing: Run-time error '53': File not found: LTDLGKRNu
I will try this example in  VB .NET to see if it works.
Can i solve this problem?
 
#4 Posted : Wednesday, February 9, 2011 5:53:30 AM(UTC)

Adam Boulad  
Guest

Groups: Guests
Posts: 3,034

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

Andreu,<br>The Callback and the DrawOnVideo demos use our Image processing toolkits to manipulate the video frames returned by the callback filters. If you want to run these sample demos, you need to download the main Document Imaging toolkit from our website at www.leadtools.com<br><br>
 
#5 Posted : Thursday, February 10, 2011 5:46:31 AM(UTC)

aroig  
aroig

Groups: Registered
Posts: 7


Hello,
Even though we have MM17, DVD, ... in order to draw a line on video image we need to buy an add-on Callback filter, right?
But the drawing utitlities are not included. What should we add to be to draw lines over live/played video image?

Thank you
 
#6 Posted : Friday, February 11, 2011 8:18:57 AM(UTC)

Walter  
Walter

Groups: Tech Support
Posts: 367

Thanks: 1 times
Was thanked: 4 time(s) in 4 post(s)

Hello,

In order to implement the features you're after, you would need to purchase the following:

1.) Multimedia SDK
2.) Video Callback filter
3.) Document Imaging SDK

You would need the Multimedia SDK and video callback filter for either capturing or playing back the media. With the video callback, you would be given direct access to the image data within the control. With this, you could modify the image data directly with your own image processing, or use the data to display the data in something else (e.g. the LEADTOOLS .NET RasterImageViewer).

The DrawOnVideo .NET example noted previously uses a combination of the LEADTOOLS RasterImageViewer and the Annotation support provided with the Document Imaging SDK to allow you to draw on the video with various annotations such as the AnnLine and AnnNote objects.

The multimedia controls themselves do not allow you to draw on or over the image. You would need to either do the drawing directly in the image data with the callback, or paint over the rendered data with something like annotations.

If you have questions regarding the pricing/licensing of this, please contact our Sales team at Sales@leadtools.com for more information.
Walter Bates
Senior 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-2020, Yet Another Forum.NET
This page was generated in 0.266 seconds.