适配干员名识别参数

This commit is contained in:
MistEO
2021-08-21 23:57:04 +08:00
parent d6868e9439
commit a4a8b0cfb0
7 changed files with 86 additions and 21 deletions

View File

@@ -22,12 +22,14 @@ namespace asst {
protected:
constexpr static int SwipeExtraDelay = 0;
virtual bool keep_swipe(bool reverse = false);
std::vector<TextArea> detect_opers(const cv::Mat& image,
std::unordered_map<std::string, std::string>& feature_cond,
std::unordered_set<std::string>& feature_whatever);
int detect_elite(const cv::Mat& image, const asst::Rect name_rect);
virtual bool swipe(bool reverse = false);
virtual bool keep_swipe(bool reverse = false);
Rect m_swipe_begin;
Rect m_swipe_end;
int m_swipe_duration = 0;