Method MaaContextRunRecognitionDirect
- Namespace
- MaaFramework.Binding.Interop.Native
- Assembly
- MaaFramework.Binding.Native.dll
MaaContextRunRecognitionDirect(nint, string, string, nint)
Run recognition directly with type and parameters, without requiring a pipeline entry.
public static long MaaContextRunRecognitionDirect(nint context, string recoType, string recoParam, nint image)Parameters
contextnint-
The context handle.
recoTypestring-
Recognition type string (e.g., "OCR", "TemplateMatch").
recoParamstring-
Recognition parameters json.
imagenint-
Image to recognize.
Returns
- long
-
The recognition id.