IntelRealSense / RealSenseID

Intel® RealSense™ ID SDK
https://intelrealsense.com/facial-authentication/
Apache License 2.0
98 stars 56 forks source link

How to use SetUsersFaceprints in Android SDK #137

Open manhst opened 2 years ago

manhst commented 2 years ago

Hi all, May I know how to use FaceAuthenticator.SetUsersFaceprints in android SDK. Currently, I'm stuck at setData of Faceprints object. Can someone give a sample Sorry im not familiar with SWIG :( public void setData(SWIGTYPE_p_RealSenseIDDBFaceprintsElement value) { SwigWrapperJNI.Faceprints_data_set(this.swigCPtr, this, SWIGTYPE_p_RealSenseIDDBFaceprintsElement.getCPtr(value)); }

RealSenseSupport commented 2 years ago

Hi manhst, I think, it's an issue about SWIG. you can merge this patch into your app. https://github.com/mengyui/RealSenseID/commit/caad1659c9c5664b44486abb1332561ba6190d8b