Yiyangchen
Yiyangchen

Reputation: 79

print out matrix by using android opencv

I'm learning opencv in android, I want to try out the Mat class by setting up a matrix randomly and print out its entries. But I don't know how to do so, I failed many times... I'm using an android pad and AIDE to do the program.

Could you help me by showing me an example? Thank you.

Upvotes: 1

Views: 1200

Answers (1)

isrish
isrish

Reputation: 692

Mat myMat;
//do u work on myMat

myMat.dump();//when you want to display the matrix

Upvotes: 5

Related Questions