Comments (3)
Hi,
Here are my comments to your questions:
- My settings are set in the .theanorc file in the following way:
[global]
device=gpu
floatX=float32
-
Ideally you would need to edit both, hard to say which one is more important. In general the edition of those meshes is quite difficullt to get right.
-
I can think of two easy ways:
a) Add a blendshape that closes the eyes. The issue of this method would be that in the source face there might be no texture corresponding to the eyelid region, because of that this method is prone to errors.
b) Show the users real eyes instead of the eyes of the source face, just as is done with the mouth interior. To achieve this you would need to remove the parts of the mesh (the triangles) that correspond to the eye regions.
Marek
from faceswap.
thanks for the reply.
I've managed to run on GPU using the .theanorc as you suggested.
regarding the eyes:
-
I've did what you've suggested and removed the mesh that correspond to the eye regions.
But how do I get from the .obj to .npy ? -
which version of the candide did you use? i see in the 3.1.6 version eyes closed implementation:
"# AUV6 Eyes closed (AU42/43/44/45)" -
I've checked all .npy files but i could find those numbers at the 3.1.6 version?
I'm i missing something or did you use a different version?
http://www.icg.isy.liu.se/candide/candide3.wfm
from faceswap.
Hi,
- You need to know the indices of the triangles you removed from the obj mesh and remove the corresponding rows of the mesh variable in zad2.py
- Here is a piece of code that converts the candide model file into the npz. It is a very messy piece of code, just saying ;)
- I don't really understand this question.
Marek
from faceswap.
Related Issues (20)
- face moving while blinking HOT 1
- Overlay Transparency HOT 1
- Question mean3DShape HOT 1
- The principle about the algorithms in 'FaceSwap' HOT 1
- Real Time? HOT 1
- RuntimeError: Unable to open ../shape_predictor_68_face_landmarks.dat HOT 1
- Face texture. HOT 5
- google colab HOT 1
- mouth HOT 5
- How to interupt the script? HOT 1
- How to make eye blinking HOT 6
- How can run zad2.py without camera HOT 1
- Face Vibrating HOT 2
- Multiple faces in source or target video HOT 4
- How to create my own candide.npz
- Faces not properly aligned in the final image
- Error with predictor HOT 1
- About gesture control and masks
- cv2.error: OpenCV(4.5.2-dev) :-1: error: (-5:Bad argument) in function 'pointPolygonTest' HOT 3
- face reading 3D...
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from faceswap.