mirror of
https://github.com/MaaAssistantArknights/MaaAssistantArknights.git
synced 2026-07-19 02:23:01 +08:00
fix.改了些有的没的报错,修复一处崩溃问题
This commit is contained in:
@@ -16,12 +16,12 @@ namespace asst
|
||||
{
|
||||
public:
|
||||
using AbstractImageAnalyzer::AbstractImageAnalyzer;
|
||||
ProcessTaskImageAnalyzer(const cv::Mat& image, const Rect& roi) = delete;
|
||||
ProcessTaskImageAnalyzer(const cv::Mat& image, std::vector<std::string> tasks_name);
|
||||
ProcessTaskImageAnalyzer(const cv::Mat image, const Rect& roi) = delete;
|
||||
ProcessTaskImageAnalyzer(const cv::Mat image, std::vector<std::string> tasks_name);
|
||||
virtual ~ProcessTaskImageAnalyzer();
|
||||
|
||||
virtual bool analyze() override;
|
||||
virtual void set_image(const cv::Mat& image) override;
|
||||
virtual void set_image(const cv::Mat image) override;
|
||||
|
||||
void set_tasks(std::vector<std::string> tasks_name)
|
||||
{
|
||||
@@ -45,7 +45,7 @@ namespace asst
|
||||
{
|
||||
AbstractImageAnalyzer::set_roi(roi);
|
||||
}
|
||||
virtual void set_image(const cv::Mat& image, const Rect& roi)
|
||||
virtual void set_image(const cv::Mat image, const Rect& roi)
|
||||
{
|
||||
AbstractImageAnalyzer::set_image(image, roi);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user