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
Open

How do i use this library on android? #157

calebgrimah opened this issue Oct 30, 2018 · 2 comments

Comments

@calebgrimah
Copy link

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

@jonhare
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
Copy link
Author

@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
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants