From e8283f94ed122772baad0e517df59bde0048ab9e Mon Sep 17 00:00:00 2001 From: tribta Date: Wed, 19 Jun 2019 19:52:09 +0100 Subject: [PATCH] Fix Python code, for the tutorial_laplace_operator, to get the same result between the Cpp, Java and Python --- samples/python/tutorial_code/ImgTrans/LaPlace/laplace_demo.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/samples/python/tutorial_code/ImgTrans/LaPlace/laplace_demo.py b/samples/python/tutorial_code/ImgTrans/LaPlace/laplace_demo.py index a90af4da1d..e3b13ca2e6 100644 --- a/samples/python/tutorial_code/ImgTrans/LaPlace/laplace_demo.py +++ b/samples/python/tutorial_code/ImgTrans/LaPlace/laplace_demo.py @@ -40,7 +40,7 @@ def main(argv): # [laplacian] # Apply Laplace function - dst = cv.Laplacian(src_gray, ddepth, kernel_size) + dst = cv.Laplacian(src_gray, ddepth, ksize=kernel_size) # [laplacian] # [convert]