Skip to main content

OpenCV with Android



I'm just after setting up OpenCV for android in Eclipse following this tutorial , I have the samples which do not use native c running fine on my phone.





The problem is when I try to run the native code samples, I followed all the steps on the next page for setting up the builder in eclipse but when I try to run the samples on my phone they crash. I have used NDK before and successfully set up tesseract for android using the command line to compile the native code instead of eclipse.





I think the problem is due to





unsatisfiedLinkError:Couldn't load native_sample:findLibrary returned null





but I am unsure. I have a screenshot here if that helps.





Any suggestions would be more than welcome !!


Comments

  1. please take a check if there is a native_sample.so in your apk, it seems the java app can not load your lib

    ReplyDelete

Post a Comment

Popular posts from this blog

Why is this Javascript much *slower* than its jQuery equivalent?

I have a HTML list of about 500 items and a "filter" box above it. I started by using jQuery to filter the list when I typed a letter (timing code added later): $('#filter').keyup( function() { var jqStart = (new Date).getTime(); var search = $(this).val().toLowerCase(); var $list = $('ul.ablist > li'); $list.each( function() { if ( $(this).text().toLowerCase().indexOf(search) === -1 ) $(this).hide(); else $(this).show(); } ); console.log('Time: ' + ((new Date).getTime() - jqStart)); } ); However, there was a couple of seconds delay after typing each letter (particularly the first letter). So I thought it may be slightly quicker if I used plain Javascript (I read recently that jQuery's each function is particularly slow). Here's my JS equivalent: document.getElementById('filter').addEventListener( 'keyup', function () { var jsStart = (new Date).getTime()...