更丝滑的面部捕捉 | opengl和numpy版本冲突的解决。| 开个支线可以吗? #15
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
代码方面的改变:
4.5相对于4
效果:
先前:
https://github.com/user-attachments/assets/dbe443ba-0eb4-4010-9fe4-ab792a3e0279
之后:
https://github.com/user-attachments/assets/6d3942dd-6ccf-4cce-a5cc-9dd26a0212f8
速度方面ok,我用cpu跑的。
dlib的一个主要问题是经常检测不到特征向量,导致检测断断续续,侧脸适应性不太好。
环境方面的改变:
再部署测试的时候发现了一个numpy和opengl的冲突。
Expected 96 from C header, got 88 from PyObject
可以通过pip install -r requirements.txt解决。也许这个需要在README.md里面提一下?
以及是否接受支线(过于简单版本的莉沫酱),我可能会接着写5.5(细分平面成曲面。),6.5(变形)。7.5究极奥义png->psd->live2d.拆分成相似图层然后进行渲染,变形等参数可以换成可调整,可以接受其他角色的正脸png输入。