I'm also on GitLab now: https://gitlab.com/Orangerot
The main development might shift to there.
Replace your appearance with that of thousands of people ๐ค๐คณ ๐ ๐ฅ๐ฅ
License: GNU General Public License v3.0
I'm also on GitLab now: https://gitlab.com/Orangerot
The main development might shift to there.
Mediapipe is primarely for tracking faces in 3d-space and it is good at that, but on sertain facial expressions (mouth wide open) the face-mesh does not open the mouth as wide as it really is.
Two-dimensional tracking has proofen itself worthy with applications like FaceRig. A famous python library for tracking face in two dimensions is dlib.
To come true to the claim Virtual camera that displays closest face match from a data set
we need to implement it.
Maybe use pyvirtualcam
The programm takes a lot if start-up time and also lags in general with larger datasets and if you chose to match the whole face.
See what functions take the most amount if time, so they could be improved.
There are a couple of libraries for python that can measure the time a funtion takes and created a report either in the console or as a file you could see in a web-interface.
With small datasets it is less likely to find a image in the dataset that matched the webcam well.
Normalize the match, so that it ignores the size and orientation of the face.
In the output either only show the normalized webcam and the normalized match. Or transform the image if the match and apply the size and rotation of the webcams face to the match.
Now the faces are matched by calculating the average distance fom a point of the webcam-face to a point of a face of the dataset. This goes on for every point in the face and every face in the dataset. This list of distances then get sorted. The first result (with least distance) gets choosen as a match.
The sorting may need a lot of time. After we have the match with the least distance, we do not need the other faces in the list.
Replace the sort
-function with replace
or even just use a variable and set it if the new comparison has a smaller distance than the one that is in the function.
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.