Giter VIP home page Giter VIP logo

extract3dfacelandmarks's Introduction

Extract3DFaceLandmarks

This Python project extracts 3D landmarks based on 2D screenshots of a 3D face, including Lateral Left, Lateral Right, and Front View. It has undergone testing with the ESRC dataset curated by Peter Hancock at Stirling and Bernie Tiddeman at Aberystwyth. You can find his work here.

M1000_N

Before utilizing this project, ensure that the facial object is aligned with the Frankfort Horizontal Plane. Detailed instructions on this alignment process can be found here. Note that all ESRC 3D Faces are already aligned with the Frankfort Horizontal Plane.

Installation

Begin by cloning the project with the following command:

git clone https://github.com/gigacycle/Extract3DFaceLandmarks.git

Next, install the required dependencies using the following command:

pip install face-alignment, torchvision, vedo

Usage

After successfully cloning the project and installing the dependencies, Run main.py and follow the instructions.

VisualzeExtractedLandmarks

  1. Starts extracting 3D landmarks for ESRC dataset (stores at ./dataset/)
  2. Starts extracting your own 3D face object (it needs full path of your .obj) and displays the landmarks at the end.
  3. Displays the landmarks extracted in phase 1 (you should type the item name like the picture above)

Acknowledgements

This project leverages the face-alignment and vedo libraries.

Please ensure proper citation of these projects in your work.

Contributions to this project are welcomed via the submission of issues or pull requests.

For inquiries or assistance, kindly contact me.

extract3dfacelandmarks's People

Contributors

gigacycle avatar

Stargazers

 avatar  avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.