Interface ITextSearchTrigger
Interface defining a text search trigger that performs OCR on a captured region, followed by text analysis using a text evaluator.
Inherited Members
Namespace: EyeAuras.OpenCVAuras.Triggers.TextSearch
Assembly: EyeAuras.OpenCVAuras.Shared.dll
Syntax
public interface ITextSearchTrigger : IWindowCaptureTrigger<ITextSearchDetectionResult>, IAuraTrigger, IAuraEntity, IAuraObject, IBindableReactiveObject, IHasId, IHasTypedId<string>, ICanSetContext, IHasContext, IHasErrors, IDisposable, IHasError, IHasErrorProvider, ICanSetName, IHasName, ICanSetDescription, IHasDescription, IHasBoundsWindow, IHasAttachedWindow, INotifyPropertyChanged
Properties
Name | Description |
---|---|
EngineId | Gets or sets the ID of the OCR engine used for text recognition. This can be set to use different OCR engines like Tesseract or Windows built-in OCR. |
EvaluatorType | Gets or sets the type of text evaluator used for text analysis. Determines how the OCR result is analyzed and matched with the target text. |
IgnoreCase | Gets or sets a value indicating whether the text comparison should ignore case. When true, the case of letters is ignored during text matching. |
InvertImage | Gets or sets a value indicating whether the image should be inverted before OCR. Inverting can be useful for images with light text on a dark background. |
ScaleFactor | Gets or sets the scale factor applied to the captured image before OCR. Scaling can improve OCR accuracy on small or low-resolution text. |
SourceText | Gets the text that has been recognized by the OCR process. This is the raw output from the OCR engine. |
TargetText | Gets or sets the target text to match with the OCR result. The trigger activates when the OCR'd text matches this target text. |
TextEvaluator | Gets the text evaluator used for analyzing the recognized text. The evaluator applies specific rules or patterns to the OCR result. |
ThresholdImage | Gets or sets a value indicating whether to apply thresholding to the image before OCR. Thresholding can enhance text contrast for better recognition. |