InputImage is to be used as an input to the recognizers. Image will be the result of recognizer processing
InputImage retains ROI functionality, but is now not serializable
InputImage handles YUV planes more efficiently
Image is now always BGRA and is serializable
Bug fixes
removed UI thread blocking while waiting for recognition to complete
this fixes the ANR that can occur when app gets resumed from 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 into ARGB_8888 config
only if the conversion is not possible, then the exception will be thrown
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 of LibBlinkCard
this permission is needed in order to correctly perform license key validation for licenses that require that
2.9.1
Minor API changes
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 serializableBug fixes
Bitmap
to the Direct APIARGB_8888
config, it will be automatically converted intoARGB_8888
configOther changes
libc++_shared.so
)android.permission.INTERNET
permission to the manifest ofLibBlinkCard