Skip to content Skip to sidebar Skip to footer

OpenCV - Laplacian Different Results In Python And C++

I was coding the Python version of one of the C++ tutorials and noticed that the output image was different depending if I was using C++ or Python. For example, with our friend Len

Solution 1:

Too late for answer, but it works if you specify argument name 'ksize' in python code:

dst = cv2.Laplacian(src, ddepth, ksize=kernel_size)

Post a Comment for "OpenCV - Laplacian Different Results In Python And C++"