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

Explore wrapping NFIQ2 into a Java library #49

Open
ghost opened this issue Feb 19, 2022 · 0 comments
Open

Explore wrapping NFIQ2 into a Java library #49

ghost opened this issue Feb 19, 2022 · 0 comments

Comments

@ghost
Copy link

ghost commented Feb 19, 2022

Currently, we require users to either run the Bioanalyzer Service in an image that already contains a pre-built NFIQ2, or we require users who want to run Bioanalyzer Service locally to build NFIQ2 themselves. This is restrictive in the first case (requires the use of docker) and difficult in the second case (building NFIQ2 takes a long time and requires a bunch of other heavy-duty dependencies, like OpenCV2).

The idea here is to take NFIQ2 and wrap it in a Java interface that calls out to the underlying C++ library. This would allow us to load NFIQ2 into our code as if it were a Java library and call it directly rather than calling out to a CLI. This makes it so that we don't need to rely as much on the environment being correct in order to run the Bioanalyzer Service.

NFIQ2: https://www.nist.gov/services-resources/software/nfiq-2
NFIQ2 Github: https://github.com/usnistgov/NFIQ2
JNI (Java Native Interace): https://docs.oracle.com/javase/8/docs/technotes/guides/jni/index.html

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

0 participants