exadel-inc / CompreFace

Leading free and open-source face recognition system
https://exadel.com/accelerator-showcase/compreface/
Apache License 2.0
5.24k stars 721 forks source link

liveness detect and anti spoofing? #923

Open neonleo opened 1 year ago

neonleo commented 1 year ago

does the face detection engine support liveness check so it can ensure the face is real person .

pospielov commented 1 year ago

No, CompreFace uses 2d images, and there is no way to create reliable liveness detection from 2d images. There are two ways:

  1. Make liveness detection from video
  2. Make liveness detection from 3d images

CompreFace doesn't support videos or 3d images. But you can implement your own liveness detection based on video and CompreFace

pigping88 commented 1 year ago

Can you describe in detail how to realize your own real-time detection based on video and CompreFace

pospielov commented 1 year ago

Here is a good article that describes how to implement it, but with AWS Rekognition: https://aws.amazon.com/blogs/industries/liveness-detection-to-improve-fraud-prevention-in-financial-institutions-with-amazon-rekognition/ You can replace AWS Rekognition with CompreFace and achieve the same result