Class TextSearchTriggerPropertiesV2
Record defining the properties for the Text Search Trigger. It extends from WindowCaptureTriggerProperties and includes additional settings specific to text searching and OCR (Optical Character Recognition).
Inheritance
Implements
Inherited Members
Namespace: EyeAuras.OpenCVAuras.Triggers.TextSearch
Assembly: EyeAuras.OpenCVAuras.Metadata.dll
Syntax
public record TextSearchTriggerPropertiesV2 : WindowCaptureTriggerProperties, IEquatable<AuraPropertiesBase>, IEquatable<AuraTriggerPropertiesBase>, IWindowCaptureTriggerProperties, IAuraTriggerProperties, IAuraProperties, IPoeEyeConfigVersioned, IPoeEyeConfig, IHasVersion, ICanSetId, IHasId, IHasTypedId<string>, IEquatable<WindowCaptureTriggerProperties>, IEquatable<TextSearchTriggerPropertiesV2>
Constructors
Name | Description |
---|---|
TextSearchTriggerPropertiesV2() | Initializes a new instance of the TextSearchTriggerPropertiesV2 class with default values. |
TextSearchTriggerPropertiesV2(TextSearchTriggerPropertiesV2) |
Properties
Name | Description |
---|---|
EngineId | Gets or sets the ID of the OCR engine used for text recognition. Default is set to "Windows (en)" for the Windows built-in OCR engine. |
EqualityContract | |
EvaluatorType | Gets or sets the type of text evaluator used for analyzing the OCR result. Specifies how the recognized text is analyzed and matched against the target text. |
IgnoreCase | Gets or sets a value indicating whether to ignore case when matching text. When true, case differences are ignored during text comparison. |
InvertImage | Gets or sets a value indicating whether to invert the colors of the image before OCR. This can improve recognition for images with light text on a dark background. |
ScaleFactor | Gets or sets the scale factor applied to the captured image before performing OCR. Adjusting the scale can enhance the OCR accuracy for text of different sizes and resolutions. |
TargetText | Gets or sets the target text to be matched with the OCR result. The trigger activates when the recognized text matches this target text. |
ThresholdImage | Gets or sets a value indicating whether to apply a threshold filter to the image before OCR. Thresholding enhances the contrast of the text for better recognition. |
Version |
Methods
Name | Description |
---|---|
Equals(TextSearchTriggerPropertiesV2?) | |
Equals(WindowCaptureTriggerProperties?) | |
Equals(object?) | |
GetHashCode() | |
PrintMembers(StringBuilder) | |
ToString() | |
<Clone>$() |
Operators
Name | Description |
---|---|
operator ==(TextSearchTriggerPropertiesV2?, TextSearchTriggerPropertiesV2?) | |
operator !=(TextSearchTriggerPropertiesV2?, TextSearchTriggerPropertiesV2?) |