Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How do i use this library on android? #157

Open
calebgrimah opened this Issue Oct 30, 2018 · 2 comments

Comments

Projects
None yet
2 participants
@calebgrimah
Copy link

calebgrimah commented Oct 30, 2018

I have added the dependency in android studio, but it keeps saying some transitive dependencies are not available.

@jonhare

This comment has been minimized.

Copy link
Member

jonhare commented Oct 30, 2018

You'll need to add an additional maven repository:

repositories {
    mavenCentral()
    maven {
        url "http://maven.openimaj.org"
    }
}

See https://stackoverflow.com/questions/33466469/android-studio-and-openimaj for an example

@calebgrimah

This comment has been minimized.

Copy link
Author

calebgrimah commented Oct 31, 2018

@jonhare I have been able to download and use just the jars i need, but i am running into an issue when i tried matching two images, i am using this as a reference "https://github.com/openimaj/openimaj/blob/master/demos/examples/src/main/java/org/openimaj/examples/image/faces/FaceSimilarity.java". I am using this "https://sourceforge.net/p/openimaj/wiki/OpenIMAJ%20on%20Android/" to get an MBFImage and then i flatten the image to get an FImage which takes a while, but then when i call set set query on the first image it takes a long time and also when i call set test on the second image it seems the application stops working with no error generated and the perform test method does not get called.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.