Viscom Software VideoCap ActiveX Control

EffectChromaKeySoftness Property

Description:   

Set/Get the edge softness of the Overlay if the background (green color ) is not completely removed.  The value from 0-100.
you may set EffectChromaKeyFreezeOverlay= true in real time, let the specific frame paused, and adjust EffectChromaKeySoftness and EffectChromaKeyTolerance in same time. It is useful for remove background (green color) completely.

Usage:   

VideoCap1.EffectChromaKeySoftness[= value]

Data Type:   

int

Example:   

This Visual Basic set the chroma key color:

Private Sub Capture_Click()
VideoCap1.CaptureMode = False
VideoCap1.CaptureAudio = True
VideoCap1.EffectChromaKeyCapAudioDevice = False
VideoCap1.EffectType = 5
VideoCap1.EffectChromaKeyVideoFile = "c:\test\yourvideo.mp4"
VideoCap1.EffectChromaKeyVideoIsBg = False
VideoCap1.EffectChromaKeyKeepLastFrame = True
VideoCap1.EffectChromaKeyFreezeOverlay = False
VideoCap1.EffectChromaKeyDisplayMask = False
VideoCap1.EffectChromaKeyOverlayX = 0
VideoCap1.EffectChromaKeyOverlayY = 0
VideoCap1.EffectChromaKeyOverlayScale = 50
VideoCap1.Start

' called EffectChromaKeyShowEyeDropper method and selected the chroma key color.
VideoCap1.EffectChromaKeySoftness =80
VideoCap1.EffectChromaKeyTolerance =50

End Sub

Value:   

0-100