A Flash Developer Resource Site

Results 1 to 10 of 10

Thread: Brilliant AND stupid - DeFace

  1. #1
    Will moderate for beer
    Join Date
    Apr 2007
    Location
    Austin, TX
    Posts
    6,801

    Brilliant AND stupid - DeFace

    I've created a show-off app for my recent implementation of face detection in flash. If you've got a webcam, you can play with it now. It's also got "Load from URL" functionality, but you've got to find a server that has a permissive crossdomain.xml file. Supposedly flickr and yahoo have appropriate permissions, but I've not tried them.

    http://suckatmath.com/personal/deface/deface.html

    If you're running firefox, the "export to page" option should insert the altered image into the html so you can right-click-save it. IE doesn't seem to work. I may integrate export to ImageShack in the near future.

    Anyone interested in helping with optimization of the face detection library? (I'm talking to you: rachil0, MyFriendIsATaco, 691175002, and others)

    So that this thread isn't all about me, please discuss your own projects which show off cool stuff with really dumb demos.

  2. #2
    Bearded (M|G)od MyFriendIsATaco's Avatar
    Join Date
    Dec 2002
    Location
    Awesomeville.
    Posts
    3,045
    You should start the application out with an image already loaded in for us to play with. :P You're probably logging all the webcam footage. I know I sure as hell would be for something like this!

    And why is this directed towards me? Haha! Think I can improve on this? I need to see something working first.

  3. #3
    Will moderate for beer
    Join Date
    Apr 2007
    Location
    Austin, TX
    Posts
    6,801
    In my local testing, loading up images worked fine. I didn't discover that nocrossdomain.com didn't work for images until after I'd uploaded it. I'll add some sample images to play with tomorrow.

    I'm not logging any webcam footage. I'd need to set up red5 for that, and that's way too much of a headache right now

    And I just listed a few of the more technically able coders I thought might read the thread. I know that there's plenty of room for optimization, and I'm planning to open up the source soon. I wanted to get an idea of whether anyone would want to work on it.

  4. #4
    Bearded (M|G)od MyFriendIsATaco's Avatar
    Join Date
    Dec 2002
    Location
    Awesomeville.
    Posts
    3,045
    Setting up Red5 is pretty darn simple to log that. Or at least have a live stream so you can watch as people are testing! That's always fun.

  5. #5
    Will moderate for beer
    Join Date
    Apr 2007
    Location
    Austin, TX
    Posts
    6,801
    It's a headache because my webhost doesn't support java/tomcat for my hosting level.

    Anyway, if you're not averse to hot women in lingerie, use this url to test:
    http://farm3.static.flickr.com/2050/...0c1ca7.jpg?v=0

    It'll take a while to find her face. About 10 seconds on my machine.

  6. #6
    Bearded (M|G)od MyFriendIsATaco's Avatar
    Join Date
    Dec 2002
    Location
    Awesomeville.
    Posts
    3,045
    How could anyone be averse to that?

    She looks good with a mustache.

    When are you planning on releasing the source for this. I'd be curious to check out how you are approaching this.

    Oh, and you don't need to install Red5 on your actual server. Just install it on your local machine, and open port 1935 on your router.

  7. #7
    Bearded (M|G)od MyFriendIsATaco's Avatar
    Join Date
    Dec 2002
    Location
    Awesomeville.
    Posts
    3,045
    Also, how are you doing the export to page script? I don't see why it would only work in Firefox.

    [edit]
    Oops, I see now that you are just dumping raw bytes into an <img> element. I guess Firefox is the only one to support that? I thought it was a standard for all browsers.
    [/edit]

  8. #8
    Palindrome emordnilaP Diniden's Avatar
    Join Date
    Feb 2008
    Posts
    230
    I'd be interested in checking out whatever algorithms you're running...I may see some tweaks that could be made to improve performance. Of course I'm not well establlished with this forum quite yet so no worries if you don't want me to >_>'

  9. #9
    Senior Member rachil0's Avatar
    Join Date
    Jul 2007
    Location
    Columbus, OH.
    Posts
    465
    Quote Originally Posted by 5TonsOfFlax
    Anyone interested in helping with optimization of the face detection library? (I'm talking to you: rachil0, MyFriendIsATaco, 691175002, and others)
    Swamped at the moment, but really flattered to be mentioned! Haven't checked it out yet, will view it tonight from a ... nonwork location that is more suitable for lingered supermodels. Can't wait to see it.

  10. #10
    Will moderate for beer
    Join Date
    Apr 2007
    Location
    Austin, TX
    Posts
    6,801
    I just created a google code project for the face detection library.

    http://code.google.com/p/deface/

    And here's some sample code. Not the app above, but another one showing off more library features. Here it is live:
    http://suckatmath.com/personal/faced...acedetect.html
    Attached Files Attached Files

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  




Click Here to Expand Forum to Full Width

HTML5 Development Center