mirror of
https://github.com/MaaAssistantArknights/MaaAssistantArknights.git
synced 2026-07-16 09:50:40 +08:00
feat.暂时废弃百度 OCR API
This commit is contained in:
@@ -133,11 +133,11 @@ bool ProcessTask::_run()
|
||||
m_callback(AsstMsg::StageDrops, json::parse(res).value(), m_callback_arg);
|
||||
|
||||
auto& opt = Resrc.cfg().get_options();
|
||||
if (opt.print_window) {
|
||||
//static const std::string dirname = utils::get_cur_dir() + "screenshot\\";
|
||||
//save_image(image, dirname);
|
||||
}
|
||||
if (opt.penguin_report) {
|
||||
//if (opt.print_window) {
|
||||
// //static const std::string dirname = utils::get_cur_dir() + "screenshot\\";
|
||||
// //save_image(image, dirname);
|
||||
//}
|
||||
if (opt.penguin_report.enable) {
|
||||
PenguinUploader::upload(res);
|
||||
}
|
||||
} break;
|
||||
@@ -208,4 +208,4 @@ void asst::ProcessTask::exec_swipe_task(ProcessTaskAction action)
|
||||
default: // 走不到这里,TODO 报个错
|
||||
break;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user