1 | initial version |
cv2.connectedComponents() is from the 3.0 python tutorials. it does not exist in 2.4.x
there are:
public static int Imgproc.connectedComponents(org.opencv.core.Mat,org.opencv.core.Mat)
public static int Imgproc.connectedComponents(org.opencv.core.Mat,org.opencv.core.Mat,int,int)
public static int Imgproc.connectedComponentsWithStats(org.opencv.core.Mat,org.opencv.core.Mat,org.opencv.core.Mat,org.opencv.core.Mat)
public static int Imgproc.connectedComponentsWithStats(org.opencv.core.Mat,org.opencv.core.Mat,org.opencv.core.Mat,org.opencv.core.Mat,int,int)
in 3.0 (desktop) java, but you will have to wait a bit until the android version will get updated to 3.0