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
Post a Comment