HOW to get liveness , spoofing feature

how to apply astra orbbec for image anti-spoofing or liveness detection feature ?

1 Like
  1. First capture, register/align and synchronize depth and RGB frames.
  2. Second detect face land-marks in RGB frame
  3. From the depth frame get the depth values exactly at land-marks detected in step 2
  4. If you find uniform depth values or change in depth below a threshold, then it is flat surface → fake/spoof face