Merge branch 'master' into dev

This commit is contained in:
MistEO
2022-05-09 00:09:24 +08:00
64 changed files with 58365 additions and 1376 deletions

View File

@@ -109,6 +109,11 @@ bool asst::ProcessTaskImageAnalyzer::analyze()
for (const std::string& task_name : m_tasks_name) {
auto task_ptr = Task.get(task_name);
// 可能有配置错误,导致不存在对应的任务
if (task_ptr == nullptr) {
Log.error("Invalid task", task_name);
continue;
}
switch (task_ptr->algorithm) {
case AlgorithmType::JustReturn: