{"action":"created","issue":{"url":"https://api.github.com/repos/tzutalin/dlib-android/issues/25","repository_url":"https://api.github.com/repos/tzutalin/dlib-android","labels_url":"https://api.github.com/repos/tzutalin/dlib-android/issues/25/labels{/name}","comments_url":"https://api.github.com/repos/tzutalin/dlib-android/issues/25/comments","events_url":"https://api.github.com/repos/tzutalin/dlib-android/issues/25/events","html_url":"https://github.com/tzutalin/dlib-android/issues/25","id":186280511,"number":25,"title":"Unable to import JNI code ImageUtils","user":{"login":"gerardsimons","id":4247845,"avatar_url":"https://avatars.githubusercontent.com/u/4247845?v=3","gravatar_id":"","url":"https://api.github.com/users/gerardsimons","html_url":"https://github.com/gerardsimons","followers_url":"https://api.github.com/users/gerardsimons/followers","following_url":"https://api.github.com/users/gerardsimons/following{/other_user}","gists_url":"https://api.github.com/users/gerardsimons/gists{/gist_id}","starred_url":"https://api.github.com/users/gerardsimons/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gerardsimons/subscriptions","organizations_url":"https://api.github.com/users/gerardsimons/orgs","repos_url":"https://api.github.com/users/gerardsimons/repos","events_url":"https://api.github.com/users/gerardsimons/events{/privacy}","received_events_url":"https://api.github.com/users/gerardsimons/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":4,"created_at":"2016-10-31T13:15:01Z","updated_at":"2016-10-31T14:30:21Z","closed_at":null,"body":"Heya, \r\n\r\nI am making an Android app, with similar functionality as the demo app in terms of dlib calls. I started from a new project, using the Gradle dependency. Everything works fine including JNI calls to DetFace etc. but I also want to use the JNI functions of the ImageUtils class and am not sure how I can include these? Every time I run them, I get an Implementation not found error. It seems the binaries are not inside the libpeople_det.so, right? Where are they then? I would expect to see a .so file somewhere, and a System.loadLibrary in ImageUtils, but I do not find either of them. Could anyone help me out? Thanks a lot."},"comment":{"url":"https://api.github.com/repos/tzutalin/dlib-android/issues/comments/257308700","html_url":"https://github.com/tzutalin/dlib-android/issues/25#issuecomment-257308700","issue_url":"https://api.github.com/repos/tzutalin/dlib-android/issues/25","id":257308700,"user":{"login":"beraldofilippo","id":6057888,"avatar_url":"https://avatars.githubusercontent.com/u/6057888?v=3","gravatar_id":"","url":"https://api.github.com/users/beraldofilippo","html_url":"https://github.com/beraldofilippo","followers_url":"https://api.github.com/users/beraldofilippo/followers","following_url":"https://api.github.com/users/beraldofilippo/following{/other_user}","gists_url":"https://api.github.com/users/beraldofilippo/gists{/gist_id}","starred_url":"https://api.github.com/users/beraldofilippo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/beraldofilippo/subscriptions","organizations_url":"https://api.github.com/users/beraldofilippo/orgs","repos_url":"https://api.github.com/users/beraldofilippo/repos","events_url":"https://api.github.com/users/beraldofilippo/events{/privacy}","received_events_url":"https://api.github.com/users/beraldofilippo/received_events","type":"User","site_admin":false},"created_at":"2016-10-31T14:30:21Z","updated_at":"2016-10-31T14:30:21Z","body":"That's exactly the way JNI declarations work, if you place it into `com.my.package` make sure to change the declaration to `Java_com_my_package_ImageUtils_convertYUV420ToARGB8888` and recompile the libs to get a working .so file.\r\nActually I don't think it as of being hacky, that's the (hacky) way the JNI works. :)"}}
{"actor":{"display_login":"beraldofilippo"}}