Giter Site home page Giter Site logo

danial-kord / digihuman Goto Github PK

View Code? Open in Web Editor NEW
422.0 14.0 70.0 162.98 MB

Automatic 3D Character animation using Pose Estimation and Landmark Generation techniques

License: GNU General Public License v3.0

ShaderLab 9.39% C# 61.77% Python 27.38% HLSL 1.43% Dockerfile 0.02% Shell 0.01%
mediapipe 3d-landmarks blendshapes pose-estimation animation blazeface blazepose character-animation deep-neural-networks facemesh

digihuman's People

Contributors

danial-kord avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

digihuman's Issues

[book-keeping] Local filepaths were left in the code

Searching for your home-directory C:/Danial results in 136 results. In some cases, it might be nice to un-hardcode those and turn them into parameters:

The only ones that might cause an issue are in pose_estimator.py

image

hand rotation deformation

image
When the hand trap and movable trap are all turned on, the wrist will be deformed when the hand is turned over. Do you have this problem?

Why don't you use MediaPipeUnityPlugin

Hello,
I'm working an a similar project and your work here is most valuable. I'm wondering if you considered using the MediaPipeUnityPlugin? It seems it would greatly simply the code architecture so it would not be necessary to use the python backend. Is there a reason you chose not to use it?

Support of Apple Chipset?

Hi there,

I am wondering if this project can support the Apple CPU?
Here are the problems I get:

  1. mediapipe package is not officially support which may not be your problem
  2. warnings package is not supported: I removed it from the code and requirements.txt, which is also fine
  3. python server.py caused errors, this maybe cause by the opencv
objc[1834]: Class CaptureDelegate is implemented in both /Library/Frameworks/Python.framework/Versions/3.9/lib/python3.9/site-packages/cv2/cv2.abi3.so (0x121fb25a0) and /Library/Frameworks/Python.framework/Versions/3.9/lib/python3.9/site-packages/mediapipe/.dylibs/libopencv_videoio.3.4.16.dylib (0x122d30860). One of the two will be used. Which one is undefined.
objc[1834]: Class CVWindow is implemented in both /Library/Frameworks/Python.framework/Versions/3.9/lib/python3.9/site-packages/cv2/cv2.abi3.so (0x121fb25f0) and /Library/Frameworks/Python.framework/Versions/3.9/lib/python3.9/site-packages/mediapipe/.dylibs/libopencv_highgui.3.4.16.dylib (0x116620a68). One of the two will be used. Which one is undefined.
objc[1834]: Class CVView is implemented in both /Library/Frameworks/Python.framework/Versions/3.9/lib/python3.9/site-packages/cv2/cv2.abi3.so (0x121fb2618) and /Library/Frameworks/Python.framework/Versions/3.9/lib/python3.9/site-packages/mediapipe/.dylibs/libopencv_highgui.3.4.16.dylib (0x116620a90). One of the two will be used. Which one is undefined.
objc[1834]: Class CVSlider is implemented in both /Library/Frameworks/Python.framework/Versions/3.9/lib/python3.9/site-packages/cv2/cv2.abi3.so (0x121fb2640) and /Library/Frameworks/Python.framework/Versions/3.9/lib/python3.9/site-packages/mediapipe/.dylibs/libopencv_highgui.3.4.16.dylib (0x116620ab8). One of the two will be used. Which one is undefined.
Traceback (most recent call last):
  File "/Users/nobody/Documents/Projects/playground/DigiHuman/Backend/server.py", line 122, in <module>
    app = Flask(__name__)
  File "/Library/Frameworks/Python.framework/Versions/3.9/lib/python3.9/site-packages/flask/app.py", line 558, in __init__
    self.add_url_rule(
  File "/Library/Frameworks/Python.framework/Versions/3.9/lib/python3.9/site-packages/flask/app.py", line 66, in wrapper_func
    return f(self, *args, **kwargs)
  File "/Library/Frameworks/Python.framework/Versions/3.9/lib/python3.9/site-packages/flask/app.py", line 1216, in add_url_rule
    self.url_map.add(rule)
  File "/Library/Frameworks/Python.framework/Versions/3.9/lib/python3.9/site-packages/werkzeug/routing.py", line 1562, in add
    rule.bind(self)
  File "/Library/Frameworks/Python.framework/Versions/3.9/lib/python3.9/site-packages/werkzeug/routing.py", line 711, in bind
    self.compile()
  File "/Library/Frameworks/Python.framework/Versions/3.9/lib/python3.9/site-packages/werkzeug/routing.py", line 767, in compile
    self._build = self._compile_builder(False)
  File "/Library/Frameworks/Python.framework/Versions/3.9/lib/python3.9/site-packages/werkzeug/routing.py", line 1128, in _compile_builder
    return self.BuilderCompiler(self).compile(append_unknown)
  File "/Library/Frameworks/Python.framework/Versions/3.9/lib/python3.9/site-packages/werkzeug/routing.py", line 1119, in compile
    co = types.CodeType(*code_args)
TypeError: code() takes at least 14 arguments (13 given)

Webcam input

Thank you for the amazing project.
Is it possibile to use it with a webcam input?

face animation

Thank you for sharing your great work!
I'm interested in face animation.
I cloned this repository and run on unity, but Unity-chan's face was not animated.
I have questions.

  1. where can I get the charactor using demo?
  2. how to specify each blendshape value to the BlendShapeController component?

Facial animation demo missing

Hello Danial,

This is a great work. I tried running it, but it seems some prefabs are missing and I also could not find the sample for facial animation.
Could you please let me know how to get those?
Thank you in advance

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.