MCPcopy Create free account
hub / github.com/MaaXYZ/MaaFramework / ChildCustomRecognitionCallback

Function ChildCustomRecognitionCallback

sample/cpp/MaaAgent/agent_child.cpp:106–121  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

104}
105
106MaaBool ChildCustomRecognitionCallback(
107 MaaContext* context,
108 MaaTaskId task_id,
109 const char* node_name,
110 const char* custom_recognition_name,
111 const char* custom_recognition_param,
112 const MaaImageBuffer* image,
113 const MaaRect* roi,
114 void* trans_arg,
115 /* out */ MaaRect* out_box,
116 /* out */ MaaStringBuffer* out_detail)
117{
118 std::cout << "at ChildCustomRecognitionCallback" << std::endl;
119
120 return true;
121}

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected