From a0d7cf89f25d065e11486eae6c5f5f20fb7ca4cb Mon Sep 17 00:00:00 2001 From: Deric Crago Date: Tue, 26 Sep 2017 23:42:48 -0400 Subject: [PATCH] Fixed 'boundary' spelling --- modules/core/src/arithm.cpp | 8 ++++---- modules/python/test/test_feature_homography.py | 2 +- samples/python/plane_tracker.py | 2 +- 3 files changed, 6 insertions(+), 6 deletions(-) diff --git a/modules/core/src/arithm.cpp b/modules/core/src/arithm.cpp index b4406c4cd8..37db49a637 100644 --- a/modules/core/src/arithm.cpp +++ b/modules/core/src/arithm.cpp @@ -1823,7 +1823,7 @@ static bool ocl_inRange( InputArray _src, InputArray _lowerb, { if( !checkScalar(_lowerb, stype, lkind, skind) ) CV_Error( CV_StsUnmatchedSizes, - "The lower bounary is neither an array of the same size and same type as src, nor a scalar"); + "The lower boundary is neither an array of the same size and same type as src, nor a scalar"); lbScalar = true; } @@ -1832,7 +1832,7 @@ static bool ocl_inRange( InputArray _src, InputArray _lowerb, { if( !checkScalar(_upperb, stype, ukind, skind) ) CV_Error( CV_StsUnmatchedSizes, - "The upper bounary is neither an array of the same size and same type as src, nor a scalar"); + "The upper boundary is neither an array of the same size and same type as src, nor a scalar"); ubScalar = true; } @@ -1944,7 +1944,7 @@ void cv::inRange(InputArray _src, InputArray _lowerb, { if( !checkScalar(lb, src.type(), lkind, skind) ) CV_Error( CV_StsUnmatchedSizes, - "The lower bounary is neither an array of the same size and same type as src, nor a scalar"); + "The lower boundary is neither an array of the same size and same type as src, nor a scalar"); lbScalar = true; } @@ -1953,7 +1953,7 @@ void cv::inRange(InputArray _src, InputArray _lowerb, { if( !checkScalar(ub, src.type(), ukind, skind) ) CV_Error( CV_StsUnmatchedSizes, - "The upper bounary is neither an array of the same size and same type as src, nor a scalar"); + "The upper boundary is neither an array of the same size and same type as src, nor a scalar"); ubScalar = true; } diff --git a/modules/python/test/test_feature_homography.py b/modules/python/test/test_feature_homography.py index b9902ca34e..6991b476a6 100644 --- a/modules/python/test/test_feature_homography.py +++ b/modules/python/test/test_feature_homography.py @@ -86,7 +86,7 @@ PlanarTarget = namedtuple('PlaneTarget', 'image, rect, keypoints, descrs, data') p0 - matched points coords in target image p1 - matched points coords in input frame H - homography matrix from p0 to p1 - quad - target bounary quad in input frame + quad - target boundary quad in input frame ''' TrackedTarget = namedtuple('TrackedTarget', 'target, p0, p1, H, quad') diff --git a/samples/python/plane_tracker.py b/samples/python/plane_tracker.py index e285c085d7..36d597250c 100755 --- a/samples/python/plane_tracker.py +++ b/samples/python/plane_tracker.py @@ -64,7 +64,7 @@ PlanarTarget = namedtuple('PlaneTarget', 'image, rect, keypoints, descrs, data') p0 - matched points coords in target image p1 - matched points coords in input frame H - homography matrix from p0 to p1 - quad - target bounary quad in input frame + quad - target boundary quad in input frame ''' TrackedTarget = namedtuple('TrackedTarget', 'target, p0, p1, H, quad')