Community

Cant Recognition Text on Xamarin

I develop an example about text capture on Xamarin, but it cant recognition text.

When I focus on text, it show output as

AOT: image 'System.Core.dll.so' not found: dlopen failed: library "/data/app/com.companyname.OCR-1/lib/arm/libaot-System.Core.dll.so" not found

AOT: image 'System.Linq.dll.so' not found: dlopen failed: library "/data/app/com.companyname.OCR-1/lib/arm/libaot-System.Linq.dll.so" not found

AOT: image 'System.Reflection.Extensions.dll.so' not found: dlopen failed: library "/data/app/com.companyname.OCR-1/lib/arm/libaot-System.Reflection.Extensions.dll.so" not found

 

AOT: image 'System.Runtime.Extensions.dll.so' not found: dlopen failed: library "/data/app/com.companyname.OCR-1/lib/arm/libaot-System.Runtime.Extensions.dll.so" not found

 

==> I have add 4 libraries on nuget manager, but it still error to load it when the application run

 

"W/RecognitionService(21091): You must fill in and pass to the 'submitRequestedFrame' the same buffer, which was provided in the 'onRequestLatestFrame' call"

 

==> in onRequestLatestFrame, i using Camera.addCallbackBuffer to pass buffer but it still error. I try using call submitRequestedFrame but it still error.

Pls help me

 

Was this article helpful?

0 out of 0 found this helpful

Comments

4 comments

  • Avatar
    Diana Khammatova

    In general, we don't provide support for the projects developed in Xamarin. However, it is technically possible to use mobile SDKs in such projects. For example, on the Xamarin Developers portal there are several articles that can be used as a reference on how to link native libraries to the project:

    http://developer.xamarin.com/guides/android/advanced_topics/using_native_libraries/ for Android

    http://developer.xamarin.com/guides/ios/advanced_topics/native_interop/ for iOS

    1
  • Avatar
    Tien Nguyen
    I using binding library AAR of Xamarin with type as LibraryorZip. Beside, I config Android Option support armeabi, armeabi_v7a and x86. It can run and connected camera. But it cant load some libraries and can't generate image. Thanks
    0
  • Avatar
    linzy

    I resolved the issue.

    See this.

    https://goo.gl/xgtmMM

     

    0
  • Avatar
    Gabriel Mello

    I resolved the issue.

    See this.

    https://goo.gl/xgtmMM

     Hi, sorry to necro the thread. How did you get rid of "You must fill in and pass to the 'submitRequestedFrame' the same buffer, which was provided in the 'onRequestLatestFrame' call" ?

    It seems to me that Xamarin byte[] marshaling is the problem. I'd appreciate any code sample or pieces of advice.

    Thanks!

    0

Please sign in to leave a comment.