| 144 | } |
| 145 | |
| 146 | maajs::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 | |
| 159 | maajs::ValueType TaskerImpl::post_action( |
| 160 | maajs::ValueType self, |
nothing calls this directly
no test coverage detected