Skip to content

Commit

Permalink
docs
Browse files Browse the repository at this point in the history
  • Loading branch information
MistEO committed Mar 28, 2024
1 parent 9d27510 commit 600d09c
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 5 deletions.
5 changes: 2 additions & 3 deletions docs/en_us/3.1-PipelineProtocol.md
Original file line number Diff line number Diff line change
Expand Up @@ -252,9 +252,8 @@ This task property requires additional fields:
Recognition area coordinates. Optional, default is [0, 0, 0, 0], which represents the full screen.
The four values are [x, y, w, h].

- `template`: *string*
Path to the template image, relative to the "image" folder. Required.
Currently, only a single image is supported.
- `template`: *string* | *list<string, >*
Path to the template image, relative to the "image" folder. Required.

- `count`: *int*
The number of required matching feature points (threshold), default is 4.
Expand Down
3 changes: 1 addition & 2 deletions docs/zh_cn/3.1-任务流水线协议.md
Original file line number Diff line number Diff line change
Expand Up @@ -257,9 +257,8 @@ graph LR;
识别区域坐标。可选,默认 [0, 0, 0, 0],即全屏。
四个值分别为 [x, y, w, h]。
- `template`: *string*
- `template`: *string* | *list<string, >*
模板图片路径,需要 `image` 文件夹的相对路径。必选。
目前仅支持单张图片。
- `count`: *int*
匹配的特征点的数量要求(阈值),默认 4.
Expand Down
1 change: 1 addition & 0 deletions source/MaaFramework/Vision/FeatureMatcher.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
MAA_SUPPRESS_CV_WARNINGS_BEGIN
#include <opencv2/features2d.hpp>
#include <opencv2/opencv.hpp>

#ifdef MAA_VISION_HAS_XFEATURES2D
#include <opencv2/xfeatures2d.hpp>
#endif
Expand Down

0 comments on commit 600d09c

Please sign in to comment.