Skip to content

Latest commit

 

History

History
30 lines (22 loc) · 994 Bytes

README.md

File metadata and controls

30 lines (22 loc) · 994 Bytes

gl2facemesh

3D Facial Surface Geometry Estimation and Face Replacement.

  • This application use the pre-trained tflite model of Google Mediapipe.
  • But this app directly call the TensorFlow Lite C++ api instead of Mediapipe framework.

capture image

To use a recorded video file instead of a live UVC camera

By default, this app uses a UVC camera for the input stream. If you want to use a recorded video file instead of a live camera, follow these steps:

1) setup dependent libralies.

$ sudo apt install libavcodec-dev libavdevice-dev libavfilter-dev libavformat-dev libavresample-dev libavutil-dev

2) rebuild with ENABLE_VDEC options

$ make clean; make -j4 ENABLE_VDEC=true

3) run with options

$ ./gl2facemesh -e -v assets/sample_video.mp4

video of running on Jetson Nano

youtube