Table of Contents

Method RunRecognition

Namespace
MaaFramework.Binding
Assembly
MaaFramework.Binding.Native.dll

RunRecognition(string, IMaaImageBuffer, string)

Run a recognition.

public RecognitionDetail? RunRecognition(string entry, IMaaImageBuffer image, string pipelineOverride = "{}")

Parameters

entry string

The recognition entry name.

image IMaaImageBuffer

The image to be recognized.

pipelineOverride string

The json used to override the pipeline.

Returns

RecognitionDetail?

MaaFramework.Binding.RecognitionDetail if the operation was executed successfully; otherwise, null.

Exceptions

ArgumentNullException

RunRecognition(string, MaaImageBuffer, string)

Run a recognition.

public RecognitionDetail? RunRecognition(string entry, MaaImageBuffer image, string pipelineOverride = "{}")

Parameters

entry string

The recognition entry name.

image MaaImageBuffer

The image to be recognized.

pipelineOverride string

The json used to override the pipeline.

Returns

RecognitionDetail?

MaaFramework.Binding.RecognitionDetail if the operation was executed successfully; otherwise, null.

Remarks

Wrapper of MaaFramework.Binding.Interop.Native.MaaContext.MaaContextRunRecognition(System.IntPtr,System.String,System.String,System.IntPtr).

Exceptions

ArgumentNullException