What is the best way to setup GPU acceleration on Android?
Hi
I am trying to use OpenCV in my Android development (dev environment is Eclipse-ADT, Mac OS). I am trying to use JPEG 2000 format for image compression, I kind of found that it is slower and I do see .jp2 file generated is bigger than my original .png file (I am setting CV_IMWRITE_JPEG_QUALITY etc). Here is sample code that I am using
Mat imgMat = new Mat();
Utils.bitmapToMat(imgBitmap, imgMat);
MatOfInt params = new MatOfInt(Highgui.CV_IMWRITE_JPEG_QUALITY, 10);
Mat mIntermediateMat = new Mat();
Imgproc.cvtColor(imgMat, mIntermediateMat, Imgproc.COLOR_RGBA2BGR, 3);
boolean writeFlag = Highgui.imwrite(file.toString(), mIntermediateMat, params);
I would like to setup CUDA acceleration on my Android machine and try to improve the performance. Do I need to do a build with CUDA enabled etc or is there a simple binary download available?
Thanks you
MB