chore: 重命名部分文件,修复task检查错误

This commit is contained in:
MistEO
2022-12-07 20:33:30 +08:00
parent f65832564d
commit 83432093d7
5 changed files with 5 additions and 3 deletions

View File

@@ -587,6 +587,7 @@ bool asst::TaskData::syntax_check(const std::string& task_name, const json::valu
"action", "algorithm", "baseTask", "cache", "exceededNext", "maskRange",
"maxTimes", "next", "onErrorNext", "postDelay", "preDelay", "rectMove",
"reduceOtherTimes", "roi", "sub", "subErrorIgnored", "templThreshold", "template",
"specialParams"
} },
{ AlgorithmType::OcrDetect,
{
@@ -594,6 +595,7 @@ bool asst::TaskData::syntax_check(const std::string& task_name, const json::valu
"fullMatch", "isAscii", "maxTimes", "next", "ocrReplace",
"onErrorNext", "postDelay", "preDelay", "rectMove", "reduceOtherTimes",
"roi", "sub", "subErrorIgnored", "text", "withoutDet",
"specialParams"
} },
{ AlgorithmType::JustReturn,
{