首页 版块 访问AI主站 注册 发帖
huhongqiang030
25
积分 积分商城
2
获赞
导入demo TurnstileAndroid
Ta的回复 :报错信息:  Build command failed. Error while executing process C:\Android\android-sdk\sdk\cmake\3.6.4111459\bin\cmake.exe with arguments {-HC:\Users\Stephen\Desktop\2017-12-21\TurnstileAndroid\facesdk -BC:\Users\Stephen\Desktop\2017-12-21\TurnstileAndroid\facesdk\.externalNativeBuild\cmake\debug\armeabi-v7a -DANDROID_ABI=armeabi-v7a -DANDROID_PLATFORM=android-16 -DCMAKE_LIBRARY_OUTPUT_DIRECTORY=C:\Users\Stephen\Desktop\2017-12-21\TurnstileAndroid\facesdk\build\intermediates\cmake\debug\obj\armeabi-v7a -DCMAKE_BUILD_TYPE=Debug -DANDROID_NDK=C:\Android\android-sdk\sdk\ndk-bundle -DCMAKE_TOOLCHAIN_FILE=C:\Android\android-sdk\sdk\ndk-bundle\build\cmake\android.toolchain.cmake -DCMAKE_MAKE_PROGRAM=C:\Android\android-sdk\sdk\cmake\3.6.4111459\bin\ninja.exe -GAndroid Gradle - Ninja} -- Check for working C compiler: C:/Android/android-sdk/sdk/ndk-bundle/toolchains/llvm/prebuilt/windows-x86_64/bin/clang.exe -- Check for working C compiler: C:/Android/android-sdk/sdk/ndk-bundle/toolchains/llvm/prebuilt/windows-x86_64/bin/clang.exe -- works -- Detecting C compiler ABI info -- Detecting C compiler ABI info - done -- Detecting C compile features -- Detecting C compile features - done -- Check for working CXX compiler: C:/Android/android-sdk/sdk/ndk-bundle/toolchains/llvm/prebuilt/windows-x86_64/bin/clang++.exe -- Check for working CXX compiler: C:/Android/android-sdk/sdk/ndk-bundle/toolchains/llvm/prebuilt/windows-x86_64/bin/clang++.exe -- works -- Detecting CXX compiler ABI info -- Detecting CXX compiler ABI info - done -- Detecting CXX compile features -- Detecting CXX compile features - done -- Configuring done CMake Error at CMakeLists.txt:49 (add_library): src/main/cpp/RtspJni.cpp Tried extensions .c .C .c++ .cc .cpp .cxx .m .M .mm .h .hh .h++ .hm .hpp .hxx .in .txx CMake Error: CMake can not determine linker language for target: rtsp -- Generating done -- Build files have been written to: C:/Users/Stephen/Desktop/2017-12-21/TurnstileAndroid/facesdk/.externalNativeBuild/cmake/debug/armeabi-v7a Build command failed. Error while executing process C:\Android\android-sdk\sdk\cmake\3.6.4111459\bin\cmake.exe with arguments {-HC:\Users\Stephen\Desktop\2017-12-21\TurnstileAndroid\facesdk -BC:\Users\Stephen\Desktop\2017-12-21\TurnstileAndroid\facesdk\.externalNativeBuild\cmake\release\armeabi-v7a -DANDROID_ABI=armeabi-v7a -DANDROID_PLATFORM=android-16 -DCMAKE_LIBRARY_OUTPUT_DIRECTORY=C:\Users\Stephen\Desktop\2017-12-21\TurnstileAndroid\facesdk\build\intermediates\cmake\release\obj\armeabi-v7a -DCMAKE_BUILD_TYPE=Release -DANDROID_NDK=C:\Android\android-sdk\sdk\ndk-bundle -DCMAKE_TOOLCHAIN_FILE=C:\Android\android-sdk\sdk\ndk-bundle\build\cmake\android.toolchain.cmake -DCMAKE_MAKE_PROGRAM=C:\Android\android-sdk\sdk\cmake\3.6.4111459\bin\ninja.exe -GAndroid Gradle - Ninja} -- Check for working C compiler: C:/Android/android-sdk/sdk/ndk-bundle/toolchains/llvm/prebuilt/windows-x86_64/bin/clang.exe -- Check for working C compiler: C:/Android/android-sdk/sdk/ndk-bundle/toolchains/llvm/prebuilt/windows-x86_64/bin/clang.exe -- works -- Detecting C compiler ABI info -- Detecting C compiler ABI info - done -- Detecting C compile features -- Detecting C compile features - done -- Check for working CXX compiler: C:/Android/android-sdk/sdk/ndk-bundle/toolchains/llvm/prebuilt/windows-x86_64/bin/clang++.exe -- Check for working CXX compiler: C:/Android/android-sdk/sdk/ndk-bundle/toolchains/llvm/prebuilt/windows-x86_64/bin/clang++.exe -- works -- Detecting CXX compiler ABI info -- Detecting CXX compiler ABI info - done -- Detecting CXX compile features -- Detecting CXX compile features - done -- Configuring done CMake Error at CMakeLists.txt:49 (add_library): src/main/cpp/RtspJni.cpp Tried extensions .c .C .c++ .cc .cpp .cxx .m .M .mm .h .hh .h++ .hm .hpp .hxx .in .txx CMake Error: CMake can not determine linker language for target: rtsp -- Generating done -- Build files have been written to: C:/Users/Stephen/Desktop/2017-12-21/TurnstileAndroid/facesdk/.externalNativeBuild/cmake/release/armeabi-v7a C:\Android\android-sdk\sdk\ndk-bundle\build\cmake\android.toolchain.cmake Warning:(63, 98) (include) CMakeLists.txt Warning:(63, 98) (include) CMakeLists.txt
2
原帖已删除
Ta的回复 :请问怎么接入公安收费接口? 
0
需要活体人脸识别后对比公安系统身份证的人脸对比
Ta的回复 :请问公安联网怎么接入,怎么花钱 ?
8
需要活体人脸识别后对比公安系统身份证的人脸对比
Ta的回复 :请问不接入公安联网api可以吗? 
8
Demo FacePrintAndroid 报错
Ta的回复 :报错信息:  01-08 15:54:36.971 10622-10850/com.stephen.facerecognition E/AndroidRuntime: FATAL EXCEPTION: Thread-394 Process: com.stephen.facerecognition, PID: 10622 java.lang.UnsatisfiedLinkError: Native method not found: com.baidu.idl.face.license.AndroidLicenser.init:(Landroid/content/Context;Ljava/lang/String;Ljava/lang/String;)I at com.baidu.idl.face.license.AndroidLicenser.init(Native Method) at com.baidu.idl.facesdk.FaceSDK.initLicense(FaceSDK.java:315) at com.baidu.idl.facesdk.FaceSDK.access$100(FaceSDK.java:18) at com.baidu.idl.facesdk.FaceSDK$1.run(FaceSDK.java:255) at java.lang.Thread.run(Thread.java:841) 01-08 15:54:37.061 10622-10622/com.stephen.facerecognition D/StubController: holdAndGetPermissionType permissionType:1024 uid:10103 pid:10622 01-08 15:54:37.061 10622-10622/com.stephen.facerecognition D/StubController: addRequestCount, mRequestCount =1 mPhoneIDRequestCount: 0 mLocationRequestCount: 0 permissionType is: 1024 01-08 15:54:37.061 10622-10622/com.stephen.facerecognition D/StubController: holdForGetPermissionSelection mRequestCount:1 01-08 15:54:37.071 10622-10622/com.stephen.facerecognition D/StubController: beforeShowDialogCheckResult:1 01-08 15:54:37.071 10622-10622/com.stephen.facerecognition D/StubController: minusRequestCount, mRequestCount =0 mPhoneIDRequestCount: 0 mLocationRequestCount: 0 permissionType is: 1024 01-08 15:54:37.071 10622-10622/com.stephen.facerecognition D/Camera: app passed NULL surface 01-08 15:54:37.071 10622-10622/com.stephen.facerecognition I/PermissionManager: camera remind result:true  
8
Demo FacePrintAndroid 报错
Ta的回复 :百度人脸识别Demo FacePrintAndroid 报错,程序崩溃 http://ai.baidu.com/forum/topic/show/497339 测试设备: 华为H60-L11 HUAWEI H60-L11 (Android 4.4.2, API 19) 测试Demo SDK版本:2.1.0 测试步骤: 启动程序 - 开始识别- 手动输入(姓名,身份证号) - 确定并进入下一步 程序崩溃,log日志: ![image](https://note.youdao.com/yws/public/resource/b0eb240eaeca7088089ffc81260e644d/xmlnote/2FC776C5F86942B38CA4561B341C0C4F/45328) 换成其他机型没有问题:具体原因不清楚。  
8
切换版块
智能客服