We closed this forum 18 June 2010. It has served us well since 2005 as the ALPHA forum did before it from 2002 to 2005. New discussions are ongoing at the new URL http://forum.processing.org. You'll need to sign up and get a new user account. We're sorry about that inconvenience, but we think it's better in the long run. The content on this forum will remain online.
IndexDiscussionExhibition › new face detection video (Code Now Downloadable)
Page Index Toggle Pages: 1
new face detection video (Code Now Downloadable) (Read 5922 times)
new face detection video (Code Now Downloadable)
Jun 1st, 2009, 8:01pm
 
update 2..i put the code up so you can now download it.  Hey it isn't pretty, as i thought i would have a chance to work on it further next week but i didn't so here it is warts and all.  http://www.nikpalmer.com/I_am_Brad_Pitt/



update..i put a better video up.


aha...second thing i meant to say on the first poast.  I also played a little with the face detection stuff.  And after a bit of a p*** around with libraries i got it all working.

In true Processing style i very quickly built a little app that puts a face over your face as your video camera tracks you.

It's rough and stupid, but sure is fun to play with.  I may have an app and code up pretty soon when i think of a couple of cool things to do with it.

here it is  http://www.nikpalmer.com/I_am_Brad_Pitt/

thanks again for everyones help

kindest

nik (blahblab)
Re: new face detection video
Reply #1 - Jun 2nd, 2009, 11:41am
 
I think that is brilliant, well done
Re: new face detection video
Reply #2 - Jun 2nd, 2009, 11:04pm
 
this is great.
how did you get the image to sit so smoothly on your face?
i have been using facedetect to try and control the mouse but with some wobbly results. have you used blobs?
Re: new face detection video
Reply #3 - Jun 3rd, 2009, 9:09am
 
It's totally rough.  I use two things that help with the face mapping.  First i notice that the faces (or rects, blobs whatever) that "detect" returns have a tendency to jitter randomly from frame to frame even on a unchanging image.  I don't understand how this can be.  They also tend to change size quite radically which is more understandable. My fix for this is to interpolate between the detected face positions of this frame and last, that smooths it out a lot.  I also interpolate between last face size and this face size.

So those fix the jittery problems.  Then i blend the new image frame with the old image frame.  This works but means it looks really slow; it's not slow it's just that i only blend a very small percentage (around 8%) of the new image with the old...

i will have the code out soon.

kindest

Re: new face detection video
Reply #4 - Jun 6th, 2009, 9:35am
 
Grin impressive! 5 stars ^^
Re: new face detection video
Reply #5 - Jun 11th, 2009, 6:32pm
 
wow, that is impressively creepy!  the idea kind of reminds me the 'laughing man' from ghost in the shell SAG.
Re: new face detection video
Reply #6 - Jun 11th, 2009, 7:25pm
 
haha nice Cheesy
Re: new face detection video
Reply #7 - Jun 13th, 2009, 11:28am
 
Shocked Nice!
Re: new face detection video (Code Now Downloadable)
Reply #8 - Jun 1st, 2010, 2:48pm
 
I WANT TO ADJUST THE SENSITIVITY OF THE DETECTION of Pface detect

any ideas???

Thanks
Page Index Toggle Pages: 1