3

I am using openCV4Android and I know there are lots of questions related with this topic. Most of them (the ones with answer), suggest a solution with C++ and add it to the project in the folder jni + Android.mk, etc.

Can I do something to avoid C++ and call every method from Java?

If it is not possible with OpenCV, I am open to try alternatives.

Thanks.

serfe
  • 285
  • 5
  • 13

2 Answers2

2

There is a JavaCV - Java interface to the OpenCV library, it is popular for the Android application.

old-ufo
  • 2,799
  • 2
  • 28
  • 40
  • Actually OpenCV has lots of methods in Java (Imgproc...) but I don't find any for ImageStitching. So I am going to try JavaCV. If you know any good tutorial for panoramas with it, please, tell me. Meanwhile, I will google for it. – serfe Nov 14 '13 at 12:52
  • http://code.google.com/p/javacv/source/browse/src/main/java/com/googlecode/javacv/cpp/opencv_stitching.java?r=a1f204f9cf107e00b556a235ede8552e4cbd1f9c – old-ufo Nov 14 '13 at 12:58
0

You will need to use JNI NDK for stitching if you want to do stitching with opencv

Abid
  • 126
  • 2
  • 11