zhej / javacv

Automatically exported from code.google.com/p/javacv
GNU General Public License v2.0
0 stars 0 forks source link

Android imagestitching #466

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
Currently i've code that looks like this:

Stitcher stitcher = Stitcher.createDefault(false);
MatVector images = new MatVector(2);
images.put(0,image1);
images.put(1,image2);
result = new IplImage(null);
int status = stitcher.stitch(images, result);

where image1 and image2 are defined in some other location.

When i'm trying to run this code, i get an error-message similar to this one 
(http://stackoverflow.com/questions/23143598/unsatisfiedlinkerror-with-stitching
-module-in-javacv-android-project)

It says it can't find ../../libs/libopencv_gpu.so but it is present in 
lib/armeabi as described in the readme.txt. What to do?

Original issue reported on code.google.com by ro...@celp.nl on 27 Apr 2014 at 3:02

GoogleCodeExporter commented 9 years ago
I'll try version 0.8 first ;)

Original comment by ro...@celp.nl on 28 Apr 2014 at 4:50

GoogleCodeExporter commented 9 years ago
Yes, it should be fixed in the new release.

But please let me know if you encounter any problems with it. Thanks for 
reporting!

Original comment by samuel.a...@gmail.com on 29 Apr 2014 at 12:00

GoogleCodeExporter commented 9 years ago
Actually 0.8 doesn't work. That module follows a different convention from the 
other modules. I've fixed that in this revision: 
https://github.com/bytedeco/javacpp-presets/commit/e5a63859aa11617374455d2528ee8
51d31d26b4f

And uploaded some snapshot binaries of that revision here:
https://oss.sonatype.org/content/repositories/snapshots/org/bytedeco/javacpp-pre
sets/opencv/2.4.9-0.8-1-SNAPSHOT/

Original comment by samuel.a...@gmail.com on 30 Apr 2014 at 12:51