GithubHelp home page GithubHelp logo

hadigolkarian / three.js-with-mediapipe Goto Github PK

View Code? Open in Web Editor NEW

This project forked from donguk071/three.js-with-mediapipe

0.0 1.0 0.0 84.05 MB

project using three.js and mediapipe

JavaScript 97.60% CSS 0.69% HTML 1.70%

three.js-with-mediapipe's Introduction

three.js-with-mediapipe

project using three.js and mediapipe

KOR

미디어파이프와 three js를 이용한 프로젝트 입니다. 해당 코드 작동을 위해서는 영상을 넣어주거나, video가 아닌 camera사용하도록 수정하여야 합니다. (https://google.github.io/mediapipe/solutions/holistic.html)

1.face cap

gld 모델에 mediapipe로 인식한 사용자에 표정 변화에 따라 애니메이션 적용 해당 glb모델을 threejs example 예제에서 참고하였습니다.(https://threejs.org/examples/?q=face#webgl_morphtargets_face)

image

눈, 눈썹, 입, 입꼬리 이마가 구현되어있으며 해당 모델이 사용자의 머리와 일치하여 움직이도록 하기 위한 스케일, 벡터 설정 등 다양한 작업을 확인할 수 있습니다.

2.rigging avatar

glb 모델에 mediapipe로 인식한 사용자에 자세 변화에 따라 애니메이션에 적용하는 프로젝트 입니다.

image

서로 bone 구조가 상의하기 때문에 mapping 하는 과정등을 확인가능하며 ik solver가 적용된 결과입니다.

extra

영상으로부터 facemesh 얻고 이를 위하여 구현한 여러 space간의 연산을 확인가능 합니다.

image

ENG

project using media pipe and three js. In order to operate the code, the video must be inserted or modifiy code to use a camera instead of a video. (https://google.github.io/mediapipe/solutions/holistic.html)

1.face cap

image

Eye, eyebrow, mouth, and mouth-tail forehead are implemented, and you can see a variety of tasks such as scale and vector settings to make the model move in line with the user

2.rigging avatar

project that applies to animation according to pose change of users by mediapipe and glb model.

image

the bone structure is different with each other(glb and mediapipe). So it is possible to check the mapping process and ik solver.

extra

You can get facemsh from the image and check the operations between the spaces which implemented for this.

image

three.js-with-mediapipe's People

Contributors

donguk071 avatar

Watchers

James Cloos 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.