webrtc-face-detect icon indicating copy to clipboard operation
webrtc-face-detect copied to clipboard

webrtc+clmtrackr.js实现的视频录制、人脸检测、活体检测

webrtc-face-detect

实现

  • 使用 getUserMedia 调用摄像头、麦克风获取本地音视频流
  • 使用 MediaRecorder 录制本地音视频流
  • 使用 clmtrackr.js 识别人脸,通过计算识别点的位置变化实现简易的活体检测

体验

https://anofury.github.io/webrtc-face-detect/index.html