Table of Contents

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

context nint

The context handle.

recoType string

Recognition type string (e.g., "OCR", "TemplateMatch").

recoParam string

Recognition parameters json.

image nint

Image to recognize.

Returns

long

The recognition id.