nihui / ncnn-android-scrfd

218 stars 37 forks source link

Camera ID does not exist! #14

Open hallowsman opened 4 months ago

hallowsman commented 4 months ago

在门禁设备上运行的时候只有前置摄像头,报错如下:

getCameraCharacteristics: Camera ID does not exist! openCamera: cannot get camera characteristics for camera . err -10001 ACameraDevice_createCaptureRequest: invalid argument! device 0x0 request 0xac55c1a0 Fatal signal 11 (SIGSEGV), code 1, fault addr 0x4 in tid 5829 (ncent.scrfdncnn) pid: 5829, tid: 5829, name: ncent.scrfdncnn >>> com.tencent.scrfdncnn <<<

01 pc 002e40a9 /data/app/com.tencent.scrfdncnn-2/lib/arm/libscrfdncnn.so (_ZN9NdkCamera4openEi+392)

#02 pc 002dac29  /data/app/com.tencent.scrfdncnn-2/lib/arm/libscrfdncnn.so (Java_com_tencent_scrfdncnn_SCRFDNcnn_openCamera+60)
#03 pc 001738c1  /data/app/com.tencent.scrfdncnn-2/oat/arm/base.odex (offset 0x157000)
tanergungor commented 1 week ago

is there any progress on that?