Skip to content

sgmzhou4/PRNet-Implementation

Repository files navigation

PRNet Implementation

This is basic introduction for how to use PRNet for generating 3D vertices, depth map from 2D frames and cropping faces from pictures.

Getting started

  1. Clone the repository:

    git clone https://github.com/YadiraF/PRNet

    cd PRNet

  2. Download the PRN trained model at Pretrained Model, and put it into Data/net-data

  3. Generate 3D vertices and depth map

    python get_depth_buffer.py

  4. Crop face from frames

    python crop_face.py

  5. Frontalize 3D faces

    `python frontalize_face.py'

Depth map demo

3D face demo

About

A implementation of PRNet

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages