FaceTracker (DX11.Texture 2d)January 23, 2018 posted by: microdee Guest Post
So I found this library: https://github.com/ShiqiYu/libfacedetection And it was super easy to use. So after a wrapper class and a handling node here are the results from vvvv with any DX11 texture:
Trololo at 60-70 fps with multiview-reinforce engine.
Crowd footage at 10-20 fps with multiview engine. It tracks as many faces as much you throw at it.
This library is fast but far from accurate. But I made the wrapper class in a way that in the future it can be easily extended with other engines, so if anyone finds robust and fast face trackers, throw that at me and I’ll implement it if they don’t cost a fortune.
Available in mp.dx http://vvvvpm.github.io/#mp.dx Enjoy!
Comments are no longer accepted for this post.
Hi @Microdee. Having trouble with this one if you’ve got a tick…
Under vvvv_50beta36_x64 I get a red FaceTrackerContent node. The error pin on the FaceTracker node says
Installed via VPM github.latest.vpack Tried with latest DX11 pack (1.3 released a few days ago) and with the DX11 pack that VPM installs.
that there looks like an edge case. check your SSH situation, if you use a proxy or a vpn make sure they don’t fiddle with secure channels. You can have “classic style downloading” but you’ll need to download and extract 5 zip files.
https://github.com/microdee/mp.essentials/releases/latest https://github.com/microdee/mp.dx/releases/latest https://github.com/microdee/mp.fxh/archive/master.zip https://github.com/velcrome/vvvv-Message/releases/tag/2.9.10
extract all to packs folder. also mp.* packs require .NET 4.7+ so make sure your windows 7 is up to date (so turn updates back on if you turned them off).
I still didn’t have time to fix the face tracker dll automatic deployment, if you can’t wait though download this https://github.com/microdee/mp.dx/blob/master/DX11Utils.Native/dependencies/libfacedetect.dll and put it next to DX11Utils.dll inside the plugins folder of mp.dx. x64 only.
Hi there! How can I instal this contribution?
Hi @microdee! Thanks for this contribution! I am using VVVV50beta38.1. Just tried to install it through VPM, but when I open FaceTracker girlpower patch I have red nodes issues (see screenshot). Can you help me solving the problem? Thanks! It appears that the DX11Utils are missing. I looked into pack folders and the DX11Utils was in a different folder respect to the one where the nodes are searching for. So I tried to copy all the DX11Utils in the correct path but the nodes are still red. I attach both TTYlog and the exception error message I receive when I try to open Facetracker girlpower patch with /showexeptions.
System.IO.FileNotFoundException: Could not load file or assembly ‘mp.pddn, Version=22.214.171.124, Culture=neutral, PublicKeyToken=null’ or one of its dependencies. The system cannot find the file specified. File name: ‘mp.pddn, Version=126.96.36.199, Culture=neutral, PublicKeyToken=null’ at System.Reflection.RuntimeAssembly.GetExportedTypes(RuntimeAssembly assembly, ObjectHandleOnStack retTypes) at System.Reflection.RuntimeAssembly.GetExportedTypes() at VVVV.Hosting.Factories.DotNetPluginFactory.LoadNodeInfosFromFile(String filename, String sourcefilename, List
1& nodeInfos, Boolean commitUpdates) at VVVV.Hosting.Factories.DotNetPluginFactory.LoadNodeInfos(String filename) at VVVV.Hosting.Factories.AbstractFileFactory1.ExtractNodeInfos(String filename, String arguments) at VVVV.Hosting.HDEHost.LoadNodeInfos(String filename, String arguments) at VVVV.Hosting.HDEHost.ExtractNodeInfos(String filename, String arguments, INodeInfo& result)
it was missing mp.pddn.dll but vpm should have taken care of that. Please check if A: there’s an md.core folder and there’s an mp.pddn.dll inside that folder in your packs folder and B: your vvvv.exe.config file next to vvvv.exe (hidden by default) contains
I’m trying to install this but VPM keeps throwing me this error :
Script thrown an Exception, contact the pack developer: The remote server returned an error: (403) Forbidden. at System.Net.WebClient.OpenRead(Uri address) at System.Net.WebClient.OpenRead(String address) at Submission#0.«Initialize»d__0.MoveNext()
I managed to install manually the mp.dx, mp.essentials, mp.fxh, vvvv.messages, but I don’t see the face track related nodes…
And I don’t have the md.core folder…
Any help ? :-)