Merge pull request #15181 from berak:java_print_blob

pull/15195/head
Maksim Shabunin 5 years ago
commit eec9fa9d5e
  1. 7
      modules/core/misc/java/src/java/core+Mat.java

@ -735,8 +735,11 @@ public class Mat {
// javadoc:Mat::toString()
@Override
public String toString() {
return "Mat [ " +
rows() + "*" + cols() + "*" + CvType.typeToString(type()) +
String _dims = (dims() > 0) ? "" : "-1*-1*";
for (int i=0; i<dims(); i++) {
_dims += size(i) + "*";
}
return "Mat [ " + _dims + CvType.typeToString(type()) +
", isCont=" + isContinuous() + ", isSubmat=" + isSubmatrix() +
", nativeObj=0x" + Long.toHexString(nativeObj) +
", dataAddr=0x" + Long.toHexString(dataAddr()) +

Loading…
Cancel
Save