Code Monkey home page Code Monkey logo

sketchmetaface's Introduction

SketchMetaFace

This repository includes the prototype system of SketchMetaFace.

SketchMetaFace: A Learning-based Sketching Interface for High-fidelity 3D Character Face Modeling

Zhongjin Luo, Dong Du, Heming Zhu, Yizhou Yu, Xiaoguang Han, Hongbo Fu

Introduction

We present SketchMetaFace, a novel sketching system designed for amateur users to create high-fidelity 3D character faces. With curvature-aware strokes (valley strokes in green and ridge strokes in red), novice users can smoothly customize detailed 3D heads. Note that our system only outputs geometry without texture and texturing is achieved using commercial modeling tools.

Demo

demo1_1.mp4
demo1_2.mp4
demo2_1.mp4
demo2_2.mp4

Usage

This system has been tested with Python 3.8, PyTorch 1.7.1, CUDA 10.2 on Ubuntu 18.04.

  • Installation:

    conda create --name SketchMetaFace -y python=3.8
    conda activate SketchMetaFace
    pip install -r requirements.txt
    
  • Start by cloning this repo:

    git clone [email protected]:zhongjinluo/SketchMetaFace.git
    cd SketchMetaFace
    
  • Download pre-compiled user interface and checkpoints for backend algorithms from sketchmetaface_files.zip and then:

    unzip sketchmetaface_files.zip
    unzip App.zip
    mv sketchmetaface_files/Stage1/Global/* /path-to-repo/Stage1/Global/
    mv sketchmetaface_files/Stage2/Preview/* /path-to-repo/Stage2/Preview/
    mv sketchmetaface_files/Stage2/Suggestion/* /path-to-repo/Stage2/Suggestion/
    mv sketchmetaface_files/Stage2/Local/* /path-to-repo/Stage2/Local/
    
  • Run the backend servers for two-stage modeling:

    # stage 1
    cd /path-to-repo/Stage1/Global/ && bash server.sh
    
    # stage 2
    cd /path-to-repo/Stage2/Preview/ && bash server.sh
    cd /path-to-repo/Stage2/Suggestion/ && bash server.sh
    cd /path-to-repo/Stage2/Local/ && bash server.sh
    
  • Launch the user interface and enjoy it:

    cd App/ && bash run.sh
    
    • stage 2 hot key: Y - symmetrize stroke, ↥ - zoom in stroke, ↧ - zoom out stroke, P - predict,
  • If you want to run the backend algorithms on a remote server, you may have to modify App/config.ini.

  • This repo represents the prototype implementation of our paper. Please use this for research and educational purposes only. This is a research prototype system and made public for demonstration purposes. The user interface runs on Ubuntu 18.04 platforms only and may contain some bugs.

  • If you are interested in sketch-based 3D modeling, you can also refer to SimpModeling and Sketch2RaBit.

sketchmetaface's People

Contributors

zhongjinluo avatar

Stargazers

 avatar Ellis avatar  avatar  avatar  avatar Jin  Huang avatar  avatar Pilipala avatar Paul Zheng avatar  avatar  avatar Shuai Yang avatar  avatar  avatar Yiqun Lin avatar Ženja Cheskidova avatar  avatar <>(CK)<> avatar Ethan Smith avatar Takahiro "Poly" Horikawa avatar Crossingzebra avatar zhang avatar Edward Seo avatar  avatar Snow avatar Lu Ming avatar L.JIE avatar Yihao Luo avatar Sandalots avatar Jeff Carpenter avatar Wei Zhang avatar Yuliang Xiu avatar  avatar  avatar Brandon Han avatar LordLiang avatar Wang Jianan avatar Yongmoon Park avatar  avatar Duotun Wang avatar 爱可可-爱生活 avatar Cao Yukang avatar Wanquan Feng avatar Pyjcsx avatar Dong Du avatar Liew Jun Hao avatar Chief Accelerator avatar Chaofeng Chen avatar

Watchers

 avatar Josep M avatar L.JIE avatar Snow avatar  avatar

sketchmetaface's Issues

The model cannot be generated in the second stage

I deployed the backend program on a remote server, running the App on Ubuntu 18.04. In the first stage, the model is successfully generated, but in the second stage, the model is never generated. I found that the GPU utilization rate was 0, which may indicate that the second-stage model has not been generated in the backend.

Demo

demo1_1.mp4
demo1_2.mp4

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.