};
assertMatEqual(truth, markers);
}
-
+
public void testGetTextSize() {
String text = "Android all the way";
double fontScale = 2;
assertEquals(44.0, res.height);
assertEquals(20, baseLine[0]);
}
-
+
public void testCircleMatPointIntScalar() {
Point center = new Point(gray0.cols() / 2, gray0.rows() / 2);
int radius = Math.min(gray0.cols() / 4, gray0.rows() / 4);
assertEquals(pt1Clipped, pt1);
assertEquals(pt2Clipped, pt2);
}
-
+
public void testEllipse2Poly() {
Point center = new Point(4, 4);
Size axes = new Size(2, 2);
assertTrue(0 < Core.countNonZero(gray0));
}
-
+
public void testPolylinesMatListOfListOfPointBooleanScalar() {
Mat img = gray0;
List<MatOfPoint> polyline = new ArrayList<MatOfPoint>();
assertEquals(0, Core.countNonZero(img));
}
-
+
public void testPutTextMatStringPointIntDoubleScalar() {
String text = "Hello World";
Size labelSize = new Size(175, 22);
""",
}, # minMaxLoc
-
+
## "checkRange" : #TBD
## {'j_code' : '/* TBD: checkRange() */', 'jn_code' : '', 'cpp_code' : '' },
"useOptimized" : {'j_code' : '', 'jn_code' : '', 'cpp_code' : '' },
}, # Core
-
+
'Imgproc' :
{
'getTextSize' :
}
}
""",
- }, # getTextSize
-
+ }, # getTextSize
+
}, # Imgproc
'Highgui' :