QuickBirdEng / opencv-android

Easy way to integrate OpenCv into your Android project via Gradle

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

WechatQR Crashes for other language

dineshkandan opened this issue · comments

JNI DETECTED ERROR IN APPLICATION: input is not valid Modified UTF-8: illegal start byte 0x82
java_vm_ext.cc:578] string: 'This is a Test ��f'
java_vm_ext.cc:578] input: '0x54 0x68 0x69 0x73 0x20 0x69 0x73 0x20 0x61 0x20 0x54 0x65 0x73 0x74 0x20 <0x82> 0xf1 0x8b 0x66'
java_vm_ext.cc:578] in call to NewStringUTF
java_vm_ext.cc:578] from java.util.List org.opencv.wechat_qrcode.WeChatQRCode.detectAndDecode_0(long, long, long
MicrosoftTeams-image (48)
)

Hi @dineshkandan I'm also facing similar issue and my app crashes frequently,. I was not able to catch the exception too to handle it.

@nasirky @sellmair @maltebucksch Any code update on issue posted above? Could you guys please assist us how to overcome this blocker and run smooth scanning?

commented

@dineshkandan @Sathishobs Can you please specify which version of OpenCV are you using?

The error seems like there is non UTF-8 data. Can you try a different code?

commented

I will close this issue now. Please feel free to open a new issue in case the issue still persists.