opencv android黑屏,装好了OpenCVManager,开启了Camera权限,在手机上CameraFaceDetectionView无图像...
同樣遇到這個黑屏問題。
OpenCVForAndroid-opencv3.2.0的人臉識別沒問題,排除了設備問題
紅米note4x 7.0系統
好像是so文件哪個缺了
安裝OpenCV_2.4.11_Manager_2.20_armeabi.apk打開后會報錯
*** *** *** *** *** *** *** *** *** *** *** *** *** *** *** ***
Build fingerprint: 'xiaomi/mido/mido:7.0/NRD90M/V9.0.4.0.NCFCNEI:user/release-keys'
Revision: '0'
ABI: 'arm'
pid: 14943, tid: 14943, name: CVEngineProcess >>> org.opencv.engine:OpenCVEngineProcess <<<
signal 6 (SIGABRT), code -6 (SI_TKILL), fault addr --------
Abort message: 'art/runtime/java_vm_ext.cc:475] JNI DETECTED ERROR IN APPLICATION: java_class == null'
r0 00000000 r1 00003a5f r2 00000006 r3 00000008
r4 f10bc590 r5 00000006 r6 f10bc538 r7 0000010c
r8 00000000 r9 ee46982c sl 000008f6 fp ee42f13f
ip 0000000d sp ffc60b90 lr ef5192b7 pc ef51bb38 cpsr 200f0010
backtrace:
#00 pc 00049b38 /system/lib/libc.so (tgkill+12)
#01 pc 000472b3 /system/lib/libc.so (pthread_kill+34)
#02 pc 0001d555 /system/lib/libc.so (raise+10)
#03 pc 000190a1 /system/lib/libc.so (__libc_android_abort+34)
#04 pc 00017104 /system/lib/libc.so (abort+4)
#05 pc 00319f31 /system/lib/libart.so (_ZN3art7Runtime5AbortEv+252)
#06 pc 000b4ef9 /system/lib/libart.so (_ZN3art10LogMessageD2Ev+864)
#07 pc 002382bd /system/lib/libart.so (_ZN3art9JavaVMExt8JniAbortEPKcS2_+1664)
#08 pc 00238523 /system/lib/libart.so (_ZN3art9JavaVMExt9JniAbortFEPKcS2_z+66)
#09 pc 00262ced /system/lib/libart.so (_ZN3art3JNI10NewObjectVEP7_JNIEnvP7_jclassP10_jmethodIDSt9__va_list+600)
#10 pc 00068057 /system/lib/libandroid_runtime.so
#11 pc 00097a97 /system/lib/libandroid_runtime.so (_ZN7android20javaObjectForIBinderEP7_JNIEnvRKNS_2spINS_7IBinderEEE+142)
#12 pc 00003e4b /data/app/org.opencv.engine-1/lib/arm/libOpenCVEngine_jni.so (Java_org_opencv_engine_BinderConnector_Connect+50)
#13 pc 0000a1b9 /data/app/org.opencv.engine-1/oat/arm/base.odex (offset 0xa000)
總結
以上是生活随笔為你收集整理的opencv android黑屏,装好了OpenCVManager,开启了Camera权限,在手机上CameraFaceDetectionView无图像...的全部內容,希望文章能夠幫你解決所遇到的問題。
- 上一篇: android行高,android –
- 下一篇: android+p+华为手机,给1.9亿