最近因工作需求在java-web服务中调用人脸识别离线sdk,主要通过JNA及JNI技术,但均未调试通过,JNA调用时出现以下异常,一直未解决,求大佬指点,导常信息如下:
in BaiduFaceApi::sdk_init
deviceId is:XXXXXXXXXXXXXXXXXXXXXXXXXXX
resource path is:\?\E:\trunk\XXX\code\service\XXX\IBH-DM2\IBH-DM4\NATIVE~1\face-resource
resource path is:\?\E:\trunk\XXX\code\service\XXX\IBH-DM2\IBH-DM4\NATIVE~1\face-resource
deme.exe basedir:xxxx sign:xxxx devices:xxxx facesize:xxxx
conf facecount : 1
conf feature_type : 1
license file path is:\?\E:\trunk\XXX\code\service\XXX\IBH-DM2\IBH-DM4\NATIVE~1\x64\license.key
Failed to open device! :1.list
cameras init failed !!!
authorize(): 7029907 OK OK successfully
is-live: 0
is-quality: 0
thr-not-face: 0.5
min-face-size: 100
thr-illum: 40
thr-blur: 0.7
thr-occlu: 0.5
thr-pitch: 15
thr-yaw: 15
thr-roll: 15
facecount: 1