mirror of
https://github.com/MaaAssistantArknights/MaaAssistantArknights.git
synced 2026-07-18 10:10:45 +08:00
refactor: 视觉相关重命名
This commit is contained in:
@@ -7,8 +7,8 @@
|
||||
#include "Task/ProcessTask.h"
|
||||
#include "Task/SSS/SSSBattleProcessTask.h"
|
||||
#include "Utils/Logger.hpp"
|
||||
#include "Vision/OcrImageAnalyzer.h"
|
||||
#include "Vision/OcrWithPreprocessImageAnalyzer.h"
|
||||
#include "Vision/OCRer.h"
|
||||
#include "Vision/RegionOCRer.h"
|
||||
|
||||
bool asst::SSSDropRewardsTaskPlugin::verify(AsstMsg msg, const json::value& details) const
|
||||
{
|
||||
@@ -25,7 +25,7 @@ bool asst::SSSDropRewardsTaskPlugin::_run()
|
||||
using namespace battle;
|
||||
LogTraceFunction;
|
||||
|
||||
OcrImageAnalyzer analyzer(ctrler()->get_image());
|
||||
OCRer analyzer(ctrler()->get_image());
|
||||
analyzer.set_task_info("SSSDropRecruitmentOCR");
|
||||
if (!analyzer.analyze()) {
|
||||
Log.error(__FUNCTION__, "OCR failed to analyze");
|
||||
|
||||
Reference in New Issue
Block a user