Minor API changes
- split up
Image
class toImage
andInputImage
InputImage
is to be used as an input to the recognizers.Image
will be the result of recognizer processingInputImage
retains ROI functionality, but is now not serializableInputImage
handles YUV planes more efficientlyImage
is now alwaysBGRA
and is serializable
Bug fixes
- removed UI thread blocking while waiting for recognition to complete
- this fixes the ANR that can occur when the app gets resumed from the background on slow network connections when using online license keys
- fix documentation-generated links to Javadoc
- fixed crash that occurred when HDR image was provided as
Bitmap
to the Direct API- if provided Bitmap is not in
ARGB_8888
config, it will be automatically converted intoARGB_8888
config - only if the conversion is not possible, then the exception will be thrown
- if provided Bitmap is not in
Other changes
- native code is now built using NDK r26c and uses dynamic c++ runtime (
libc++_shared.so
)- in case when multiple different dependencies use the same runtime in the same app, the latest available version of the library should be packaged into the app
- added support for license keys that support multiple application IDs
- added
android.permission.INTERNET
permission to the manifest ofLibBlinkCard
- this permission is needed in order to correctly perform license key validation for licenses that require that