I am using Java openCV, and i try to load a photo and run the template matching over it. The template matching method deals with Mat objects, so i need to load the images an
loading using OpenCV is quicker (20%-40%) than loading using BitmapFactory and transforming to OpenCV Mat
Mat image = Highgui.imread("/sdcard/TVguide/Detection/detected.jpg");