VideoCapture.Regions.Exclude Method

Definition

Hides the specified region on the  video captured while the script execution on video playback.

Overloads

VideoCapture.Regions.Exclude (Region r, RegionBehaviour bind)

To hide the rectangle linked to the screen coordinates specify the rectangle coordinates as the Region parameter.

To hide the region linked to an HTML element specify the HTML element as the Region parameter.

Plain text
Copy to clipboard
Open code in new window
EnlighterJS 3 Syntax Highlighter
public void Exclude(Region r, RegionBehaviour bind)
public void Exclude(Region r, RegionBehaviour bind)
public void Exclude(Region r, RegionBehaviour bind)

Parameters

 r  Region

 bind  RegionBehaviour

Examples

Plain text
Copy to clipboard
Open code in new window
EnlighterJS 3 Syntax Highlighter
//hides the rectangle linked to the specified screen coordinates
tab0.VideoCapture.Regions.Exclude (Region (638, 387, 263, 77), RegionBehaviour.BindToScreen);
//hides the rectangle linked to the specified <div> element
tab0.VideoCapture.Regions.Exclude (Region (tab0.Div (//H2[normalize-space()=\”EXCLUSIVE BLACK FRIDAY ACCESS\”]/../..”, “/HTML/BODY/…/SECTION/DIV[2]”)), RegionBehaviour.BindToScreen);
//hides the rectangle linked to the specified screen coordinates tab0.VideoCapture.Regions.Exclude (Region (638, 387, 263, 77), RegionBehaviour.BindToScreen); //hides the rectangle linked to the specified <div> element tab0.VideoCapture.Regions.Exclude (Region (tab0.Div (“//H2[normalize-space()=\”EXCLUSIVE BLACK FRIDAY ACCESS\”]/../..”, “/HTML/BODY/…/SECTION/DIV[2]”)), RegionBehaviour.BindToScreen);
//hides the rectangle linked to the specified screen coordinates
tab0.VideoCapture.Regions.Exclude (Region (638, 387, 263, 77), RegionBehaviour.BindToScreen);
//hides the rectangle linked to the specified <div> element 
tab0.VideoCapture.Regions.Exclude (Region (tab0.Div (“//H2[normalize-space()=\”EXCLUSIVE BLACK FRIDAY ACCESS\”]/../..”, “/HTML/BODY/…/SECTION/DIV[2]”)), RegionBehaviour.BindToScreen);

VideoCapture.Regions.Exclude (Region r, RegionBehaviour bind, Bitmap anchor, double threshold)

Hides the video region by the rectangle linked to the specified RIA picture.

The threshold parameter reflects a degree of matching that is sufficient for the unique identification of a required image fragment on the visible part of the page. The default value is 0.95. When the algorithm detects more than one match with the default threshold value, either a new fragment must be selected or the threshold level needs to be increased.

Plain text
Copy to clipboard
Open code in new window
EnlighterJS 3 Syntax Highlighter
public void Exclude (Region r, RegionBehaviour bind, Bitmap anchor, double threshold)
public void Exclude (Region r, RegionBehaviour bind, Bitmap anchor, double threshold)
public void Exclude (Region r, RegionBehaviour bind, Bitmap anchor, double threshold)

Parameters

 r  Region

 bind  RegionBehaviour

 anchor  Bitmap

 threshold  double

Examples

Plain text
Copy to clipboard
Open code in new window
EnlighterJS 3 Syntax Highlighter
tab0.VideoCapture.Regions.Exclude (Region (-53, -31, 95, 62), RegionBehaviour.BindToScreen, PictureList [0], 0.99);
tab0.VideoCapture.Regions.Exclude (Region (-53, -31, 95, 62), RegionBehaviour.BindToScreen, PictureList [0], 0.99);
tab0.VideoCapture.Regions.Exclude (Region (-53, -31, 95, 62), RegionBehaviour.BindToScreen, PictureList [0], 0.99);

Region Class Definition

Plain text
Copy to clipboard
Open code in new window
EnlighterJS 3 Syntax Highlighter
public static VideoCapturing.Region Region(IHtmlElement element)
{
...
}
public static VideoCapturing.Region Region(
int x, int y, int width, int height)
{
...
}
public static VideoCapturing.Region Region(IHtmlElement element) { ... } public static VideoCapturing.Region Region( int x, int y, int width, int height) { ... }
public static VideoCapturing.Region Region(IHtmlElement element)
{
...
}

public static VideoCapturing.Region Region(
int x, int y, int width, int height)
{
...
}