From 4c7b6bc71877a432dec1bad6795c83bbb9b8f819 Mon Sep 17 00:00:00 2001 From: rainyl Date: Tue, 14 May 2024 09:40:16 +0800 Subject: [PATCH 1/2] fix: default border type of pyrDown and pyrUp --- lib/src/imgproc/imgproc.dart | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/src/imgproc/imgproc.dart b/lib/src/imgproc/imgproc.dart index 4f19771c..026eedbf 100644 --- a/lib/src/imgproc/imgproc.dart +++ b/lib/src/imgproc/imgproc.dart @@ -464,7 +464,7 @@ Mat pyrDown( Mat src, { Mat? dst, (int, int) dstsize = (0, 0), - int borderType = BORDER_CONSTANT, + int borderType = BORDER_DEFAULT, }) { dst ??= Mat.empty(); using((arena) { @@ -481,7 +481,7 @@ Mat pyrUp( Mat src, { Mat? dst, (int, int) dstsize = (0, 0), - int borderType = BORDER_CONSTANT, + int borderType = BORDER_DEFAULT, }) { dst ??= Mat.empty(); using((arena) { From a3054fb65ecef7f4f5ee26da6ebc4d5c6887d650 Mon Sep 17 00:00:00 2001 From: rainyl Date: Tue, 14 May 2024 09:40:40 +0800 Subject: [PATCH 2/2] bump version to 1.0.3+2 --- pubspec.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pubspec.yaml b/pubspec.yaml index c2c94c58..a185447d 100644 --- a/pubspec.yaml +++ b/pubspec.yaml @@ -1,6 +1,6 @@ name: opencv_dart description: "OpenCV4 bindings for Dart language and Flutter, using dart:ffi. The most complete OpenCV bindings for Dart!" -version: 1.0.3+1 +version: 1.0.3+2 binary_version: 1.0.3 homepage: https://github.com/rainyl/opencv_dart