Has anyone implemented an android plugin for unity using OpenCV? -


i have written android app using opencv , native code, when try extract libraries unity crashes when loads opencv libs.

public class mainactivity extends unityplayeractivity { @override protected void oncreate(bundle savedinstancestate) {     super.oncreate(savedinstancestate);     if (!opencvloader.initdebug()) {          log.e(this.getclass().getsimplename(), "  opencvloader.initdebug(), not working.");     } else {         log.d(this.getclass().getsimplename(), "  opencvloader.initdebug(), working.");     }         //this doesn't work either //opencvloader.initasync(opencvloader.opencv_version_3_1_0, this, mloadercallback); } } 

is there way overcome , load opencv libs? or should create interface unity , load .jar without extending unityplayeractivity?

the time spend implementing , converting plugin not worth it. use made plugin asset store. not free worth supports other platforms well.


Comments

Popular posts from this blog

Ansible - ERROR! the field 'hosts' is required but was not set -

customize file_field button ruby on rails -

SoapUI on windows 10 - high DPI/4K scaling issue -