BlinkID / blinkid-android

Everything you need to add AI-driven ID scanning into your native Android app.
https://microblink.com/identity/identity-document-scanning/
452 stars 154 forks source link

E/WVMExtractor: Failed to open libwvm.so: dlopen failed: library "libwvm.so" not found #42

Closed CattleOfRa closed 6 years ago

CattleOfRa commented 7 years ago

I am currently getting the following error:

E/WVMExtractor: Failed to open libwvm.so: dlopen failed: library "libwvm.so" not found

After enabling setDebugImageMetadataSettings to debug why OCR not reading Card properly on Android,

The full code for MetadataSettings and MetadataSettings.ImageMetadataSettings.DebugImageMetadataSettings is as follows:

MetadataSettings.ImageMetadataSettings.DebugImageMetadataSettings dims = new MetadataSettings.ImageMetadataSettings.DebugImageMetadataSettings();
dims.setAll(true);

MetadataSettings.ImageMetadataSettings ims = new MetadataSettings.ImageMetadataSettings();
ims.setDewarpedImageEnabled(true);
ims.setSuccessfulScanFrameEnabled(false);
ims.setDebugImageMetadataSettings(dims);

I am currently testing under the following environment:

OS name: Android OS version: 7.0 Model: Lenovo P2a42

DoDoENT commented 7 years ago

Hi!

Does your app crash after printing that error or it simply ignores it and continues to work? Our recognition code does not use in any way libwvm.so, however after some research I've found that it is being indirectly used by audio player. Our ScanActivity plays a "beep" sound on successful scanning and on your device the audio subsystem might be broken (googling for this error reveals that lots of apps are suffering from it on some devices).

You can disable the "beep" sound by sending invalid resource ID (such as -1) to ScanActivity or by creating your own scan activity according to documentation and example.

iostyle commented 7 years ago

I still don't know how to solve

shekharartemedia commented 6 years ago

hi i am gettinig the same issue. please help me

i1E commented 6 years ago

Hi @shekharartemedia, which version of the SDK you are using? Can you please share the full log output and stack trace?

shekharartemedia commented 6 years ago

@i1E i am using sdk 26. i am getting this bug is only for "lava Z80" when i open the gallery from custom camera. here is mu code to open the gallery

Intent intent = new Intent(Intent.ACTION_VIEW); intent.setType("image/*");

    intent.addFlags(Intent.FLAG_GRANT_PERSISTABLE_URI_PERMISSION);
    intent.addFlags(Intent.FLAG_GRANT_READ_URI_PERMISSION);
    intent.addFlags(Intent.FLAG_GRANT_WRITE_URI_PERMISSION);
    startActivity(intent);
i1E commented 6 years ago

Hi @shekharartemedia, what do you mean by "custom camera"? It seems that this error is not related to our SDK. We still need full stack trace and more information from the log output.

shekharartemedia commented 6 years ago

I have create my custom camera where user can click his/her photos and i am adding the watermarking on the image and save it to the gallery.But when i click on gallery button which is in camera screen then screen is hang.

i1E commented 6 years ago

Hi @shekharartemedia, I don't see in which way this issue is related to our SDK, please ask here only questions that are related to our SDK.