Skip to content

Commit 28b1d82

Browse files
committed
Merge branch 'dev' of https://github.com/shelllet/winui into dev
update
2 parents c269569 + db0cb57 commit 28b1d82

13 files changed

Lines changed: 125 additions & 14 deletions

File tree

docx/CHANGELOG.md

Lines changed: 25 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,28 @@
1-
# [0.42.1](https://github.com/shelllet/winui/compare/main...dev) (2025-02-26)
1+
# [0.43.0](https://github.com/shelllet/winui/compare/main...dev) (2025-04-xx)
2+
3+
### Changed:
4+
1. 增加[图像匹配](./actions/detection/MatchImage.md) 动作。
5+
2. 增加[条码识别](./actions/ai/BarcodeDetector.md) 动作。
6+
3. [打印日志](./actions/system/PrintMessage.md) 支持输出图片。
7+
8+
### Note
9+
10+
1. 使用管理员权限运行 *winui++*, 无法显示 *动作* 的拖动效果(已知问题)。
11+
2. 64位下载(x64):https://winui.net/_media/simple/winui++0.42.4-setup.x64.exe
12+
13+
14+
## [0.42.4](https://github.com/shelllet/winui/compare/main...dev) (2025-03-30)
15+
16+
### Changed:
17+
1. 修复预览图片在小屏幕无法显示问题。
18+
19+
### Note
20+
21+
1. 使用管理员权限运行 *winui++*, 无法显示 *动作* 的拖动效果(已知问题)。
22+
2. 64位下载(x64):https://winui.net/_media/simple/winui++0.42.4-setup.x64.exe
23+
24+
25+
## [0.42.1](https://github.com/shelllet/winui/compare/main...dev) (2025-02-26)
226

327
### Changed:
428
1. 修复[剪切板](./actions/system/ClipboardValue.md)动作设置剪切板内容时崩溃问题。

docx/_sidebar.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@
3333
- [终止进程](./actions/system/KillProcess.md)
3434
- [登录应用](./actions/system/Runas.md)
3535
- [剪切板](./actions/system/ClipboardValue.md)
36-
- [打印日志](./actions/system/OutputString.md)
36+
- [打印日志](./actions/system/PrintMessage.md)
3737
- [创建对象](./actions/system/CreateObject.md)
3838
- [调用方法](./actions/system/CallMethod.md)
3939
- [读内存](./actions/system/ReadMemory.md)
@@ -122,6 +122,7 @@
122122
- [形状匹配](./actions/detection/MatchShapes.md)
123123
- [特征匹配](./actions/detection/FeatureDetect.md)
124124
- [模板匹配](./actions/detection/MatchTemplate.md)
125+
- [图像匹配](./actions/detection/MatchImage.md)
125126
- [查找轮廓](./actions/detection/FindContours.md)
126127
- [颜色辨识](./actions/detection/ImageColorDiscrimination.md)
127128
- 绘图
@@ -133,6 +134,7 @@
133134
- [中文识别](./actions/ai/TextChinese.md)
134135
- [文本块检测](./actions/ai/TextDetection.md)
135136
- [二维码识别](./actions/ai/QRCode.md)
137+
- [条码识别](./actions/ai/BarcodeDetector.md)
136138
- 媒体
137139
- [窗口截图](./actions/media/CaptureWindow.md)
138140
- [全屏截图](./actions/media/CaptureFullScreen.md)

docx/actions/ai/BarcodeDetector.md

Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,30 @@
1+
# 条码识别
2+
处理条码扫描需求的强力工具,支持 EAN-8、 EAN-13、UPC-A 、 UPC-E 、Code 128、 Code 93、 Code 39 等。
3+
4+
![BarcodeDetector](./images/06.png ':size=90%')
5+
6+
## 子流程
7+
> 不支持
8+
9+
## 运行参数
10+
11+
* 图像
12+
> 含条形码的图像。
13+
14+
## 输出
15+
16+
> 条码信息,参考:[RecognitionResult](./types/RecognitionResult.md)
17+
18+
## 脚本调用
19+
20+
```python
21+
import simple;
22+
23+
24+
```
25+
26+
### 其它
27+
28+
示例 https://github.com/shelllet/WinUi/blob/main/dnn/barcode.simple
29+
30+

docx/actions/ai/QRCode.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,11 +9,11 @@
99
## 运行参数
1010

1111
* 图像
12-
> 待包含二维码的图像
12+
> 含二维码的图像
1313
1414
## 输出
1515

16-
> 二维码信息,字符串类型,参考:[String](./types/String.md)
16+
> 二维码信息,参考:[RecognitionResult](./types/RecognitionResult.md)
1717
1818
## 脚本调用
1919

docx/actions/ai/images/06.png

242 KB
Loading

docx/actions/async/WorkWait.md

Lines changed: 12 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
# 异步等待
2-
这个动作可以等待异步动作的结束。
2+
该动作可以等待异步动作的结束。
3+
4+
![WorkWait](./images/08.png ':size=90%')
35

46
## 子流程
57
> 不支持
@@ -13,7 +15,7 @@
1315

1416
## 输出
1517

16-
> 图像[Image](./types/Image.md)
18+
>
1719
1820

1921
## 脚本调用
@@ -23,4 +25,11 @@ import simple;
2325

2426
```
2527

26-
## 资源
28+
## 资源
29+
30+
* 示例流程:https://github.com/shelllet/WinUi/blob/main/async/WorkWait.simple
31+
32+
33+
<iframe type="text/html" height="640px" src="https://www.youtube.com/embed/LUteAwDmVHw" frameborder="0"></iframe>
34+
35+
<iframe src="//player.bilibili.com/player.html?bvid=BV1DifgYNEmr&page=1&autoplay=0" height='640px' scrolling="no" frameborder="no" framespacing="0" allowfullscreen="true"></iframe>

docx/actions/async/images/08.png

856 KB
Loading
Lines changed: 36 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,36 @@
1+
# 图像匹配
2+
多目标的图像查找方法,通常用于查找特征比较少的图像。
3+
4+
* 具有旋转不变性。
5+
6+
![MatchImage](./images/10.png ':size=90%')
7+
8+
## 子流程
9+
> 不支持
10+
11+
## 运行参数
12+
13+
* 图像
14+
> 源图像,从该图像上查找目标图像,内部会转换成灰度图像。
15+
16+
* 目标
17+
> 要查找的图像,内部会转换成灰度图像,不能比源图像大。
18+
19+
* 分值
20+
> 根据相似度进行过滤, 低于该值的认为不匹配。取值范围:(-1 ~ 1) ,`1` 表示完美匹配,`-1` 表示糟糕的匹配,`0` 表示没有任何相关性。
21+
22+
* 重叠区域
23+
> 两个目标图像之间的重叠面积 / 样本的面积。默认值为:`0`
24+
25+
## 输出
26+
27+
> 找到目标对象的位置,参考:[DetectionResults](./types/DetectionResult.md)
28+
29+
## 资源
30+
31+
例子:https://github.com/shelllet/WinUi/blob/main/detection/MatchImage.simple
32+
33+
34+
35+
## 版本变化
36+

docx/actions/detection/MatchTemplate.md

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,9 @@
11
# 模板匹配
2-
简单的图片查找,通常用于查找较小的图像,或者特征比较少的图像。
2+
基于模板的简单的图像查找方法,通常用于查找较小的图像,或者特征比较少的图像。
33

4-
* 图像和模板分别改变光照亮度不影响计算结果
4+
* 光照亮度不影响计算结果
55

6+
* 常用于对象检测,例如在图像中查找特定的对象或图案。查找图像中的徽标、特定零件或任何其他定义的模式。
67

78
![MatchTemplate](./images/07.png ':size=90%')
89

@@ -13,7 +14,7 @@
1314
## 运行参数
1415

1516
* 图像
16-
> 源图像,待查找图像,可以是彩色图像。
17+
> 源图像,从该图像上查找模板图像,可以是彩色图像。
1718
* 模板
1819
> 要查找的图像,可以是彩色图像,不能比源图像大。
1920
* 精度
678 KB
Loading

0 commit comments

Comments
 (0)