One processing done on the faces is texture analysis. When the face is very far and the image quality very low it become impossible to perform texture analysis which means the face will likely be declared as spoof.
To improve the correct detection of far away faces you’ll need to improve the image quality.
Another processing done is checking some distances about your eyes, nose, ears… In the attached image we don’t clear see your eyes. If the same face was taken very close the eyes would be easier to check. So, make sure to look at the camera if you want a correct detection, otherwise we’ll think it’s a wax figure and this is why the attached image is detected as “disguise”.
Unfortunately we haven’t added the documentation about the configuration entries but we’ll do it. Change “ detect_face_minsize” and “ detect_face_minsize”:
We’re working on v1.0 and the results we have are much much better than the current version (v0.6). That version works better on far away and low resolution faces. It should be release this week or in the worse scenario the next one.
This said, I don’t know any company that can accurately do liveness detection on far away faces. Even if you are using hardware (3D sensor, depth…) the distance should be reasonable.
We receive a lot of data from our customers which help us improve the product. If you have sample data and willing to share it with us, you’re welcome.