mirror of
https://github.com/MaaAssistantArknights/MaaAssistantArknights.git
synced 2026-07-18 02:10:21 +08:00
27 lines
698 B
C++
27 lines
698 B
C++
#pragma once
|
||
#include "AbstractImageAnalyzer.h"
|
||
|
||
namespace asst
|
||
{
|
||
class InfrastClueImageAnalyzer : public AbstractImageAnalyzer
|
||
{
|
||
public:
|
||
using AbstractImageAnalyzer::AbstractImageAnalyzer;
|
||
virtual ~InfrastClueImageAnalyzer() = default;
|
||
|
||
virtual bool analyze() override;
|
||
|
||
const std::vector<std::pair<Rect, std::string>>& get_result() const noexcept
|
||
{
|
||
return m_result;
|
||
}
|
||
|
||
protected:
|
||
bool clue_detect();
|
||
bool clue_analyze();
|
||
|
||
bool m_need_detailed = false; // 是否需要详细分析(线索号);false时只检测,不识别
|
||
std::vector<std::pair<Rect, std::string>> m_result;
|
||
};
|
||
}
|