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
entrystring-
The recognition entry name.
imageIMaaImageBuffer-
The image to be recognized.
pipelineOverridestring-
The json used to override the pipeline.
Returns
- RecognitionDetail?
-
MaaFramework.Binding.RecognitionDetail if the operation was executed successfully; otherwise, null.
Exceptions
RunRecognition(string, MaaImageBuffer, string)
Run a recognition.
public RecognitionDetail? RunRecognition(string entry, MaaImageBuffer image, string pipelineOverride = "{}")Parameters
entrystring-
The recognition entry name.
imageMaaImageBuffer-
The image to be recognized.
pipelineOverridestring-
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).