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 : Tuesday, September 12, 2017 2:31:46 PM(UTC)

Walter  
Walter

Groups: Tech Support
Posts: 366

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

The attached Visual Studio 2017 project is an updated project from this earlier post. The project now uses LEADTOOLS 19. This project usses the LEADTOOLS CaptureCtrl along with the text overlay filter to time stamp captured video. There is also an option in the demo to set custom text with the text overlay filter. The idea was to show how to programmatically control the filter.

This project differs slightly from the original. I have made the following changes:
  • The text overlay filter is now added by default. By doing this, it made it possible to enable/disable the filter without modifying the underlying graph. In other words, I removed the flicker that occurred when showing/hiding text.
  • Added an event handler to clean up when the form closed
  • Freed the video device when the application closes
  • Releases the text overlay (COM object) when the application closes


To run the project, please extract it into the following directory:
C:\LEADTOOLS 19\Examples\posts\t12299
File Attachment(s):
LTMMCaptureTextOverlay19.zip (78kb) downloaded 288 time(s).

Edited by moderator Tuesday, October 22, 2019 3:35:54 PM(UTC)  | Reason: Not specified

Walter Bates
Senior Support Engineer
LEAD Technologies, Inc.
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 : Tuesday, October 22, 2019 3:45:55 PM(UTC)
Josh Clark

Groups: Registered, Tech Support, Administrators
Posts: 54

Thanks: 2 times
Was thanked: 10 time(s) in 10 post(s)

I have updated this project to work with version 20. You should be able to run this from any folder, however it references the version 20 DLLs from the default "C:\LEADTOOLS 20" installation folder.

File Attachment(s):
LTMMCaptureTextOverlay20.zip (17kb) downloaded 42 time(s).
Josh Clark
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.048 seconds.