I'm using FaceServiceClient.detect to detect a face in a photo containing only one face.
For most of the photos it works.
But for some photos the function FaceServiceClient.detect returns one Face object but with faceid = null. i.e. it returns a List object with one Face but that Face has faceid = null and I cannot use it later for verification.
this is my code:
faceServiceClient.detect(
params[0], /* Input stream of image to detect */
true, /* Whether to return face ID */
false, /* Whether to return face landmarks */
/* Which face attributes to analyze, currently we support:
age,gender,headPose,smile,facialHair */
null);
Why does that happen?
Is there any reason why FaceServiceClient.detect returns a Face with faceid null?
I'm using FaceServiceClient.detect to detect a face in a photo containing only one face. For most of the photos it works. But for some photos the function FaceServiceClient.detect returns one Face object but with faceid = null. i.e. it returns a List object with one Face but that Face has faceid = null and I cannot use it later for verification.
this is my code:
Why does that happen? Is there any reason why FaceServiceClient.detect returns a Face with faceid null?