Monday, April 7, 2014

About using JavaCV problem in Android


JavaCV images are processed by IplImage or CvMat processing, and image processing on android mostly in the form of bitmap.

I had tried using Java.awt the bufferedImage to convert, camera capture images through ImageIO.read method plus IplImage in createFrom function can be converted, but it looks like now in the android in the java.awt package in addition to one of the font all been discarded, so the processing of data structures simply no clue.

After the inside of the Mother Google search of the search, and found that only C + + methods, can only use the NDK approach used in engineering C + + code to convert?

Would like to ask: how to achieve two-way conversion between IplImage and Bitmap in android?
<-! Main posts under Banner (D4) -><-! Posts under the main text (D5) ->

No comments:

Post a Comment