NativeScript / mlkit

Apache License 2.0
24 stars 9 forks source link

Android bug: listener for image processing functions is never called #15

Closed cjohn001 closed 2 years ago

cjohn001 commented 2 years ago

When running the plugin on Android, the onSuccess and onError listener which are responsible for the pattern recognition are never called. I mean the listeners which are set up in the following function:

https://github.com/NativeScript/mlkit/blob/353ede150655e33b36fb020be320653240dad285/packages/mlkit-core/index.android.ts#L157

Hence, I can see the video stream on Android, but the actual image processing is not active.

I have updated my demo source to show the recent open issues. The source code can be downloaded from here

https://github.com/cjohn001/mlkit-test

Just copy the sources to the same folder like the mlkit folder. Paths are set relative.