1 | initial version |
MatOfKeyPoint has a toArray() function, the output from that is nicely printable:
KeyPoint a = new KeyPoint(3,3,3);
KeyPoint b = new KeyPoint(4,4,4);
MatOfKeyPoint mfk = new MatOfKeyPoint(a,b);
System.err.println(mfk.toArray());
KeyPoint [pt={3.0, 3.0}, size=3.0, angle=-1.0, response=0.0, octave=0, class_id=-1]
KeyPoint [pt={4.0, 4.0}, size=4.0, angle=-1.0, response=0.0, octave=0, class_id=-1]