I am working on Closed/open eye-detection project using OpenCV
libraries in Eclipse
for android latest version. I retrieve a part of detected face and then save it in a Mat
variable.
I am getting problem in how to display all the values( gray-scale
pixel values). These are the methods I tried:
- I found the
System.out.println()
don't work inAndroid
. - I used
Log.i()
function to display all pixel values in two for-loops, but it is showing limited values, means I am not able to see starting values. - I tried
Mat_Variable.dump()
function to display all the values of Mat variable, but I am not able to see any the output.
How can I display all the values present in Mat_variable?
Plus, is there any way to see all the values of Mat variable in Matrix-format (because System.out.println()
doesn't work, otherwise I could use System.out.println()
to display values in Matrix-format)?