First, I try to call "arcternsdk_access_get_face_attrs" as YTLFFaceManager did. But no luck.
result come back all zero.
2nd API:
Second, I try to call another API, "arcternsdk_access_get_attributes_directly",
result seems all right.
Unfortunately, after few hours of testing. It crash from JNI global reference table overflow.
2nd API keep adding "com.intellif.arctern.base.ArcternAttribute" reference.
The following text from debug 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)
Thank you for reading this, If you need any more information , please comment.
Any advise would be welcome and appreciate.
Try to get "ArcternAttrResult":
About
1st API:
2nd API:
Second, I try to call another API, "arcternsdk_access_get_attributes_directly", result seems all right.
Unfortunately, after few hours of testing. It crash from JNI global reference table overflow. 2nd API keep adding "com.intellif.arctern.base.ArcternAttribute" reference.
The following text from debug log
Thank you for reading this, If you need any more information , please comment. Any advise would be welcome and appreciate.