Class WindowImageProcessedEventArgs<TDetectionResult>
Represents the event arguments for an image processing trigger, containing the results and transformations required to map detected objects from local to screen coordinates.
Implements
Inherited Members
Namespace: EyeAuras.OpenCVAuras.Triggers.WindowCapture
Assembly: EyeAuras.OpenCVAuras.Shared.dll
Syntax
public sealed record WindowImageProcessedEventArgs<TDetectionResult> : IEquatable<WindowImageProcessedEventArgs<TDetectionResult>> where TDetectionResult : ICaptureTriggerDetectionResult
Type Parameters
Name | Description |
---|---|
TDetectionResult | The type of the trigger result, encapsulating details about detected objects. |
Constructors
Name | Description |
---|---|
WindowImageProcessedEventArgs() |
Properties
Name | Description |
---|---|
Captured | Gets images which were processed by the trigger. They are not included by default and are NOT thread-safe. You are responsible for making sure that they will not be updated by any other trigger or script. This will be changed in the future versions. |
Detected | Gets the result of the image processing trigger, containing detailed information about detected objects, such as their locations in local coordinates. |
ViewportTransforms | Gets the transformation matrices used to convert coordinates from the local viewport (the region of the window where the image was captured) to screen coordinates. This includes scaling, rotation, and offset transformations. |
Methods
Name | Description |
---|---|
Equals(WindowImageProcessedEventArgs<TDetectionResult>?) | |
Equals(object?) | |
GetHashCode() | |
ToScreen(Rectangle) | Converts a rectangle from local viewport coordinates to screen coordinates. |
ToScreen(RectangleF) | Converts a rectangle from local viewport coordinates to screen coordinates, allowing for fractional pixel values. |
ToString() | |
<Clone>$() |