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 : Friday, March 23, 2012 10:06:02 AM(UTC)

Carlos_LEAD  
Guest

Groups: Guests
Posts: 3,022

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

Overlaying Animated Logo onto video

The attached example project demonstrates how to use the LEAD Video Callback Filter in combination with Leadtools Image processing to overlay an animated logo on any video. This example only demonstrates playback (using the PlayCtrl) however the same methods can be used with the CaptureCtrl (to place the logo over live video from device) or with the ConvertCtrl ( to save or stream the video with the animated logo overlayed).

To use:
Run the application and open a video file. To see the video without the background removed, uncheck "Remove Background". If you find that the logo is somewhat transparent you can increase the "Subtraction Iterations" slider (more iterations = more image processing per frame). The "Logo With Black BG" and "Logo With Green BG" will play back 2 different versions of the logo video file. One with a black background and one with a green background. Using the Logo With Green BG will trigger some extra image processing that removes the range of green colors in the background of the animated logo video (you can see this range of colors by unchecking "Remove Background").

This project was created with:
.NET 4 (x86)
Visual Studio 2010
Leadtools Multimedia SDK
Leadtools Image Processing SDK
File Attachment(s):
AnimatedLogo_UserCallbackExample.zip (136kb) downloaded 595 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.

#2 Posted : Tuesday, October 10, 2017 10:32:43 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.

Sample overlay MP4s included, copy/move sub-folder "CS_VideoOverlayCallback_input" to the "LEADTOOLS Images" folder ("C:\Users\Public\Documents\LEADTOOLS Images\") before running.
File Attachment(s):
CS_VideoOverlayCallback.zip (129kb) downloaded 343 time(s).
Anthony Northrup
Developer Support Engineer
LEAD Technologies, Inc.

LEAD Logo
 
#3 Posted : Monday, March 30, 2020 11:10:02 AM(UTC)
Luke Duvall

Groups: Registered, Tech Support, Administrators
Posts: 34


Updated Project to LEADTOOLS Version 20 using Visual Studio 2019. This project is using the x86 Architect.

File Attachment(s):
CS_VideoOverlayCallback.zip (129kb) downloaded 24 time(s).

Luke Duvall
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.159 seconds.