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

Method post_recognition

source/binding/NodeJS/src/apis/tasker.cpp:146–157  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

144}
145
146maajs::ValueType TaskerImpl::post_recognition(
147 maajs::ValueType self,
148 maajs::EnvType,
149 std::string reco_type,
150 maajs::ValueType reco_param,
151 maajs::ArrayBufferType image)
152{
153 ImageBuffer img;
154 img.set(image);
155 auto id = MaaTaskerPostRecognition(tasker, reco_type.c_str(), maajs::JsonStringify(env, reco_param).c_str(), img);
156 return maajs::CallCtorHelper(ExtContext::get(env)->taskJobCtor, self, id);
157}
158
159maajs::ValueType TaskerImpl::post_action(
160 maajs::ValueType self,

Callers

nothing calls this directly

Calls 4

MaaTaskerPostRecognitionFunction · 0.85
JsonStringifyFunction · 0.85
CallCtorHelperFunction · 0.85
setMethod · 0.45

Tested by

no test coverage detected