Search Unity

Unity3d and FaceAPI integration: demo and source available

Discussion in 'Made With Unity' started by dannyxyz22, Oct 28, 2009.

  1. dannyxyz22

    dannyxyz22

    Joined:
    Jun 16, 2009
    Posts:
    20
    VisionBlaster has released the 6 degrees of freedom streamer and a demo with Lerpz tutorial at the www.visionblaster.com site for download.
    With this technology headtracking acquired from the webcam is used to control Lerpz head and add more interaction to games.
    A video with the demonstration can be seen in the same site.
     
  2. liverolA

    liverolA

    Joined:
    Feb 10, 2009
    Posts:
    347
    intersting but error when run scoket.ext: no ippcore5.2.dll
     
  3. dannyxyz22

    dannyxyz22

    Joined:
    Jun 16, 2009
    Posts:
    20
    Hi Liverol, thanks for your interest.

    FaceAPI depends on ippcore dll. You should get this library either through Intel Integrated Performance Primitives or installing FaceAPI (which will install this dll).

    For the FaceAPI way, get the Request Non-Commercial faceAPI License v3.1.3 in
    http://www.seeingmachines.com/product/faceapi/downloads/

    Please write me back any doubt you have,
    kind regards,
    Daniel
    ps. I'll post your bug in the project site, thanks
     
  4. psychicparrot

    psychicparrot

    Joined:
    Dec 10, 2007
    Posts:
    884
    Hi Daniel,

    Very generous of you to share this code. Thank you so much for doing so!

    I hope once I finish my current project that I can get some time to look at this in detail, as it is something I have been wanting to look at for a while now.

    Cheers!
     
  5. dannyxyz22

    dannyxyz22

    Joined:
    Jun 16, 2009
    Posts:
    20
    Thanks Jeff,

    the code is not totally open source, but you can get the directions :)

    Kind regards,
    Daniel
     
  6. Marv

    Marv

    Joined:
    May 26, 2009
    Posts:
    85
    Hey Daniel,

    I was wondering if you'd consider making your script open source?
    Or maybe just show us how you get the streamer output into Unity?

    I do get the direction :), but I don't like buying something I don't know enough about and if I can even use it somehow.

    I'd like to try some stuff out but I wouldn't use your script for moving a players head but some other interactions.
     
  7. dannyxyz22

    dannyxyz22

    Joined:
    Jun 16, 2009
    Posts:
    20
    Hi Marv, how are you?

    Well, the script basically allows you to get the head translation and rotation. You can set them to any transform you wish. You can have a good idea with the documentation (http://visionblaster.com/cms/images/stories/pdfs/streamerdocumentation0.95.pdf)

    There are two demos on youtube:
    http://www.youtube.com/watch?v=N87c5wxD9EQ
    http://www.youtube.com/watch?v=98586S9hcDc

    You can also make those Johnny Lee effects without wearing anything (http://www.youtube.com/watch?v=Jd3-eiid-Uw)

    VisionBlaster is interested in providing solutions for augmented reality as well. You can capture the webcam stream and use your webcam face to head some ball or something like that. But this will require professional licenses on both Unity and FaceAPI.

    Kind regards,
    Daniel
     
  8. lili_c

    lili_c

    Joined:
    Sep 21, 2008
    Posts:
    20
    I have tried this idea, and it works.

    I used faceapi and send it as OSC message(in open frameworks) to unity.

    :)
     
  9. Marv

    Marv

    Joined:
    May 26, 2009
    Posts:
    85
    Nice, I haven't got around to try it out yet.

    How fast is the responstime?

    If you look at Natal or Move from Sony/Microsoft it looks like just a normal webcam recognition wouldn't be good and fast enough. They both use special equipent like the light ball or the special depth camera from Natal.

    Can you put a demo online? I would love to try it out.
     
  10. ruly

    ruly

    Joined:
    May 27, 2010
    Posts:
    1
    i test socket.exe on faceapistreamer, an always error, any clue?
    i was install non-Commercial faceapi, im still using winXP sp2,
    any step-by-step tutor for this?
     
  11. rahuxx

    rahuxx

    Joined:
    May 8, 2009
    Posts:
    537
    can i use xbox kinect in place of webcam?
     
  12. RichBosworth

    RichBosworth

    Joined:
    May 26, 2009
    Posts:
    325
    I believe that there are drivers to allow you to do so. I know some of my friends have been using it. However, you can't get access the advanced features by default, which is why there are so many custom-made programs to be found here on the forums that use it in a very intelligent manner.
     
  13. fabbot

    fabbot

    Joined:
    Feb 12, 2014
    Posts:
    1
    Hi there,
    I have successfully put up a Data stream with the socket.exe, but still when I press play in Unity, nothing happens. I am using Unity 3.3 and have tried newer versions too. Is there a problem with the port (I never touched it. its by default 29129)?
    I really have no idea how to go on, as everything seems to be ok (no warnings or errors), except for Unity doing what it should...
    Thanks in advance