|
【应用开发】
基于FACE X2,取得“通过人脸框检测当前人脸属性”相关问题
发表于 2021-5-14 10:41:16
浏览:4898
|
回复:0
打印
只看该作者
[复制链接]
楼主
#### FYI, 关于SDK About讯息为
- YTLFFace.arcternsdk_about() = "6732ef10643d7b5da5b2678e22a1b680"
- 首先,我尝试透过 "arcternsdk_access_get_face_attrs" 取属性,结果全部为零
-
- 另外,我试着用 "arcternsdk_access_get_attributes_directly" 结果感觉是正确的
-
- 只可惜,经过几个小时的测试,重复呼叫这个 API 会导致 JNI 的 参考超过最大值(Crash)
任何建议与方向指引都欢迎
同样问题也发布于Github Issue
Log如下
05-11 11:32:29.014 23718 23820 F art : art/runtime/indirect_reference_table.cc:132] JNI ERROR (app bug): global reference table overflow (max=51200)
05-11 11:32:29.015 23718 23820 F art : art/runtime/indirect_reference_table.cc:132] global reference table dump:
05-11 11:32:29.015 23718 23820 F art : art/runtime/indirect_reference_table.cc:132] Last 10 entries (of 51200):
05-11 11:32:29.015 23718 23820 F art : art/runtime/indirect_reference_table.cc:132] 51199: 0x13b55a00 java.lang.Class<com.intellif.arctern.base.ArcternAttribute[]>
05-11 11:32:29.015 23718 23820 F art : art/runtime/indirect_reference_table.cc:132] 51198: 0x13b55ac0 java.lang.Class<com.intellif.arctern.base.ArcternAttribute>
05-11 11:32:29.015 23718 23820 F art : art/runtime/indirect_reference_table.cc:132] 51197: 0x13b55a00 java.lang.Class<com.intellif.arctern.base.ArcternAttribute[]>
05-11 11:32:29.015 23718 23820 F art : art/runtime/indirect_reference_table.cc:132] 51196: 0x13b55ac0 java.lang.Class<com.intellif.arctern.base.ArcternAttribute>
05-11 11:32:29.015 23718 23820 F art : art/runtime/indirect_reference_table.cc:132] 51195: 0x13b55a00 java.lang.Class<com.intellif.arctern.base.ArcternAttribute[]>
05-11 11:32:29.015 23718 23820 F art : art/runtime/indirect_reference_table.cc:132] 51194: 0x13b55ac0 java.lang.Class<com.intellif.arctern.base.ArcternAttribute>
05-11 11:32:29.015 23718 23820 F art : art/runtime/indirect_reference_table.cc:132] 51193: 0x13b55a00 java.lang.Class<com.intellif.arctern.base.ArcternAttribute[]>
05-11 11:32:29.015 23718 23820 F art : art/runtime/indirect_reference_table.cc:132] 51192: 0x13b55ac0 java.lang.Class<com.intellif.arctern.base.ArcternAttribute>
05-11 11:32:29.015 23718 23820 F art : art/runtime/indirect_reference_table.cc:132] 51191: 0x13b55a00 java.lang.Class<com.intellif.arctern.base.ArcternAttribute[]>
05-11 11:32:29.015 23718 23820 F art : art/runtime/indirect_reference_table.cc:132] 51190: 0x13b55ac0 java.lang.Class<com.intellif.arctern.base.ArcternAttribute>
05-11 11:32:29.015 23718 23820 F art : art/runtime/indirect_reference_table.cc:132] Summary:
05-11 11:32:29.015 23718 23820 F art : art/runtime/indirect_reference_table.cc:132] 51004 of java.lang.Class (217 unique instances)
05-11 11:32:29.015 23718 23820 F art : art/runtime/indirect_reference_table.cc:132] 140 of java.nio.DirectByteBuffer (137 unique instances)
05-11 11:32:29.015 23718 23820 F art : art/runtime/indirect_reference_table.cc:132] 24 of java.lang.ref.WeakReference (24 unique instances)
|
|