» FaceTracker (DX11.Texture 2d)
This site relies heavily on Javascript. You should enable it if you want the full experience. Learn more.

FaceTracker (DX11.Texture 2d)

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:

title

Trololo at 60-70 fps with multiview-reinforce engine.

crowd
crowd

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!

microdee, Tuesday, Jan 23rd 2018 Digg | Tweet | Delicious 19 comments  
Lrinke 24/01/2018 - 16:35

that's f*** awesome :D
next project yolo object detection?
https://pjreddie.com/darknet/yolo/

microdee 24/01/2018 - 22:46

it's up and running now in mp.dx: http://vvvvpm.github.io/#mp.dx
check out the FaceTracker patch in girlpower

ggml 25/01/2018 - 03:03

nice!

colorsound 25/01/2018 - 11:11

great ¡¡ thank you.

CeeYaa 25/01/2018 - 13:51

nize - thanks again, microdee

metrowave 26/01/2018 - 16:44

Cool, that's funny...

microdee 27/01/2018 - 04:49

if anybody has red node issues install mp.dx through vpm again (only overwrite mp.dx), I forgot to set the build config back to release the first time, causing DLL issues for everyone without Visual Studio and without C++ development packs for it. Now it's in release so should be fine with VC redist 2017

eps 20/02/2018 - 14:40

mucho gracias, ultra cool'n'useful

ggml 23/02/2018 - 13:55

hello; could this tracker aproximate the relative movement of faces ? (does it output ids?)

microdee 23/02/2018 - 16:52

nope, it's only looking at single frame images, it can't keep a track of faces in the time domain. however you can come up with something based on positions and searching for other consistencies accross frames.

ggml 06/05/2018 - 23:38

microdee is this implementation available for try ?

microdee 07/05/2018 - 03:05

it's available in mp.dx, https://vvvvpm.github.io/#mp.dx/latest

tobyk 22/05/2018 - 19:31

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

An attempt was made to load a program with an incorrect format. (Exception from HRESULT: 0x8007000B)
   at mp.dx.Tracking.FaceTrackerContext.facedetect_frontal_surveillance(Byte* result_buffer, Byte* gray_image_data, Int32 width, Int32 height, Int32 step, Single scale, Int32 min_neighbors, Int32 min_object_width, Int32 max_object_width, Int32 doLandmark)
   at mp.dx.dx11.Nodes.TextureFaceTrackerNode.Evaluate(Int32 SpreadMax) in C:\projects\mp-dx\DX11Utils\TextureFaceTrackerNode.cs:line 150

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.

microdee 24/05/2018 - 15:25

hi! thanks I will check if the necessary dll's are copied properly later, I have a suspicion it doesn't do that

rogalag 25/05/2018 - 20:00

Hi @Microdee:
Something's wrong downloading your vpm pack .
I'm using latest vpm 1.2.8
Maybe you can provide alternative "classic style" download link

microdee 25/05/2018 - 23:22

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
directx11-nodes

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.

rogalag 26/05/2018 - 14:43

Thanks a lot @microdee, I will try to collect pack , hope it'll work...

rogalag 27/05/2018 - 19:23

@microdee
Thank you!. Facetracker working perfectly!
G.

vj shanti 11/08/2018 - 12:57

Hi there!
How can I instal this contribution?

Cheers

  • 1

anonymous user login

Shoutbox

~19h ago

joreg: Interested in #visualprogramming with #vvvv? Meetup in #berlin on the 25th: 10-berlin-vvvv-meetup Featuring @kopffarben

~2d ago

ggml: is pepperoni dmx adapter still expected to work with b38 ?

~2d ago

bo27: @sinus hi! Thanks for using the template. Run is for endusers and it kills explorer. Try developer.bat to access patches

~2d ago

sinus: @bo24: sorry for da hassle. everything´s fine again. several restarts did the job.

~2d ago

sinus: @bo24: my mail db@servus.at

~2d ago

sinus: @IvanRastr aka bo24: found your project template, tested run bat.file, now my screen is black. only cursor. what to do?

~7d ago

cznickesz: @tonfilm thanks for the info. Can´t wait to give it a try!

~8d ago

tonfilm: @cznickesz #vvvv #vl #xenko integration is not ready for the public yet, it's still under heavy development... more updates soon.

~8d ago

cznickesz: Possibly dumb question: is there any release containing xenko-integration right now?