Files
MaaAssistantArknights/src/MeoAssistant/InfrastClueImageAnalyzer.h
2021-12-15 00:29:17 +08:00

27 lines
698 B
C++
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
#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;
};
}