Because that part in C++ is like that
watershed(image, markers);
So the only way I found to translate is with Imgproc.watershed(image,markers);.
Because that part in C++ is like that
watershed(image, markers);
So the only way I found to translate is with Imgproc.watershed(image,markers);.