This code was designed to fall back to other image decoders when ImageIO is not available, but now that I am looking at BufferedImage in method signature, I am worried that it will throw during class loading already. What exception are you getting?
Anyway, since Sanselan depends on ImageIO, WSQ would be the only supported format even if the class loading succeeded. In order to make this work on Android with PNG/JPEG, you will need to implement decodeViaAndroidBitmap and add it to the list of image decoders.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
I can already scan the fingerprint and store them as byte[] or bitmap. Do you have a solution in mind so that I can apply your algorithm and existing code to work in Android? I just dont get it why its not working, the parameter of FingerprintTemplate is bitmap I wonder why its not being process in Android.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Hi what should I do to these codes? BufferedImage is not available in android
This code was designed to fall back to other image decoders when ImageIO is not available, but now that I am looking at BufferedImage in method signature, I am worried that it will throw during class loading already. What exception are you getting?
Anyway, since Sanselan depends on ImageIO, WSQ would be the only supported format even if the class loading succeeded. In order to make this work on Android with PNG/JPEG, you will need to implement decodeViaAndroidBitmap and add it to the list of image decoders.
Do you have a decoder of android bitmap?
No. Not yet.
I will use DigitalPersona 4500, should it work if I just comment out the two decoder who's having error?
If you just comment out the two non-Android decoders, SourceAFIS will only support WSQ images and ANSI/ISO templates.
I can already scan the fingerprint and store them as byte[] or bitmap. Do you have a solution in mind so that I can apply your algorithm and existing code to work in Android? I just dont get it why its not working, the parameter of FingerprintTemplate is bitmap I wonder why its not being process in Android.
FYI, SourceAFIS 3.6.0 runs on Android API level 24+.