chrisyang / facefrontalisation Goto Github PK
View Code? Open in Web Editor NEWThis code implements a face frontalisation method given the landmarks
This code implements a face frontalisation method given the landmarks
Hi, could you port this code for python 3 usage?
Hi,
Can you give the instructions to use this code on a sample test image ??
How to generate ref3d.pkl for a new image?
Thanks
Hello Yang,
I got this error when runing the code with Python 3.4:
Traceback (most recent call last):
File "facefrontal.py", line 143, in
fronter = frontalizer('ref3d.pkl')
File "facefrontal.py", line 41, in init
ref = pkl.load(f)
TypeError: 'str' does not support the buffer interface
Could you upload a new version of pickle file ref3d.pkl for Python 3.x. Thank you.
I don't fully understand why, but when using .png
format, the frontalization doesn't work. Nevertheless, when converting the same image with gimp to .jpg
, the frontalization works great.
For instance, when using this:
Throws error name 'det' is not defined
, mainly because dlib's face detector doesn't detect any faces and the loop in the main method of facefrontal.py
is not executed.
When using the same image in .jpg
format:
The output is correct.
Any ideas?
Thanks,
Dani
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.