Follow Slashdot blog updates by subscribing to our blog RSS feed


Forgot your password?

Real-Time Face Substitution in Javascript 63

An anonymous reader writes with news of an interesting demo for clmtrackr (a Javascript library for tracking of facial features) that hides your face using 3D masks overlayed on the video from your webcam using WebGL. The effect is kind of neat, and a bit creepy. The demo works in Chromium here, but not in Firefox (Debian unstable). There are a couple other demos; the facial deformation demo is reminiscent of the intro screen to Mario 64.
This discussion has been archived. No new comments can be posted.

Real-Time Face Substitution in Javascript

Comments Filter:
  • by nimbius ( 983462 ) on Thursday January 09, 2014 @01:33PM (#45907969) Homepage
  • Umm... (Score:1, Flamebait)

    by Desler ( 1608317 )

    So doing something in Javascript is a front page story? Is the language that crappy that being able to do mundane things with it is now news?

  • by david.emery ( 127135 ) on Thursday January 09, 2014 @01:47PM (#45908107)

    As predicted by John Brunner's "Stand on Zanzibar" ( ): a video system where your face is superimposed on the screen, showing you visiting exotic locations, participating in dramas, etc, etc?

  • by Fwipp ( 1473271 ) on Thursday January 09, 2014 @02:18PM (#45908645)

    The demo worked fine for me, but completely failed to find my black partner's face, preferring instead a spot on the wall behind them. Obviously this isn't a professional product, but it's disappointing that simply locating a black person's face is still a missing feature in 2014.

    • by Anonymous Coward on Thursday January 09, 2014 @03:34PM (#45909731)

      Dark faces are challenging unless using projected IR light(a la night vision) due to these things usually relying on contrast to locate the nostrils, eyes and mouth. Basically, the closer the skin tone is to the iris and nostrils, the higher video fidelity and lighting quality needed to differentiate the two. It isn't a racism thing and can be worked around with better lighting or a better camera if IR isn't an option.

      • by Anonymous Coward

        To expand on this, this behaviour is also seen on some cellphone unlocks and even the Kinect/Natal units had a hard time originally. The new Kinect much less so since it has a variety of other bits of biometric data with which to base itself.

    • It can't fully even do a white person with a beard. It's like it assumes everyone on the net is a 12 year old boy in the suburbs.
    • Maybe they got some help from Veridian Dynamics - []

    • TFA claims it was trained on the MUCT database which includes various ethnicities. Maybe there's not enough contrast in your image.

  • by Dishwasha ( 125561 ) on Thursday January 09, 2014 @02:22PM (#45908699)

    Now when my new internet girlfriend wants to skype for the first time, she won't find out that the pictures I posted on my dating profile were faked from a google image search for hunk.

  • by Anonymous Coward

    I thought what I'd do was, I'd pretend I was one of those deaf-mutes.

  • It fails as soon as I move.

  • Would make for more interesting videos, anyway... :D

  • Unless you're sitting still it often lags behind and any realistic movement would guarantee you face would not be hidden. Javascript developers have an odd sense of what real time is.
    • 'Real-time' usually seems to mean to a lot of people 'you don't have to do a processing step after saving data to see results, but instead see a stream as the data is collected'. 'Real-time' doesn't require that the system have no lag (impossible), but at least latency should be known. Which, I will grant you, is likely not known in this case.
    • Unless you're sitting still it often lags behind and any realistic movement would guarantee you face would not be hidden. Javascript developers have an odd sense of what real time is.

      Javascript and real time should never be used together. For all the improvements by browser vendors javascript is still almost as slow as the US congress.

  • I don't specially dislike Chrome other than the fact that I don't use it, but whenever something web hits slashdot it's almost always Chrome-only. Any explanation for this?

  • It works in Firefox for me. The start button remains grayed out for some reason, but you can click on it.

  • real time photo-shopping of celebrities on live television...

"So why don't you make like a tree, and get outta here." -- Biff in "Back to the Future"