Android Faster Image Processing

asked 2013-08-12 09:29:07 -0500

koraxis gravatar image

updated 2013-08-12 09:39:56 -0500

I am using OpenCV,Vuforia and Tesseract(tess-two) for my app. My system works like this:

  1. Vuforia detects the target and sends the full frame to OpenCV (JNI)
  2. OpenCV gets the frame and does some image processing to make it readable for Tesseract (JNI)
  3. Tesseract(tess-two) takes the byte arrays from opencv and does the OCR processings on the image(byte-array)

I have problem with the 2nd and the 3rd parts.But since this is an OpenCV forum, i think i should ask the 2nd one. I am doing the image processing parts, as its written above, in C++ and the problem is , since i have to do image processing on every detected frame from Vuforia i create lots of image processing load.

What i want to do is, find a multithread solution for image processing so that the live camera preview that is on the screen wont have lags and will be smoother. Where should i start from for making the image processing faster ?

edit retag flag offensive close merge delete