Table of Contents

Method MaaResourceGetDefaultRecognitionParam

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

MaaResourceGetDefaultRecognitionParam(nint, string, nint)

Get default recognition parameters for the specified type from DefaultPipelineMgr.

public static bool MaaResourceGetDefaultRecognitionParam(nint res, string recoType, nint buffer)

Parameters

res nint

The resource handle.

recoType string

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

buffer nint

Output buffer for the JSON string of recognition parameters.

Returns

bool

true if the operation was executed successfully; otherwise, false.