1 | initial version |
What are you doing here?
Imgproc.cvtColor(markerImg, tempMat, CvType.CV_32SC1, 0);
The third parameter should be something like Imgproc.COLOR_* The 4th should be the number of channels (shouldn't be zero) but you can omit it if you got the 3rd right.
Check cvtColor documentation here:
http://docs.opencv.org/java/org/opencv/imgproc/Imgproc.html
2 | No.2 Revision |
What are you doing here?
Imgproc.cvtColor(markerImg, tempMat, CvType.CV_32SC1, 0);
The third parameter should be something like Imgproc.COLOR_*
Imgproc.COLOR_*
The 4th should be the number of channels (shouldn't be zero) but you can omit it if you got the 3rd right.
Check cvtColor documentation here:
http://docs.opencv.org/java/org/opencv/imgproc/Imgproc.html