Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

As per OpenCV ref man or even [OpenCV JavaDoc](http://docs.opencv.org/java/org/opencv/highgui/Highgui.html#imread(java.lang.String)):

The function imread loads an image from the specified file and returns it.

The string "data" doesn't look like a correct file path in a file system. You need to search the internet on discovering Android Gallery and Camera-taken-photo files paths...