Re: [MacRuby-devel] MacRuby challenge
hello alan. i was playing around with your gist, but the glasses and all the extra layers are off. i positioned the layers over the face, but they always stay to the right of the face, and the distance they are to the right, is not even fixed. it comes closer to the face when i move to the left. i'm confused.. On Tue, Dec 13, 2011 at 2:07 AM, Alan Skipp wrote: > A bit late to the moustachioed party. But here is an attempt at the live > moustachification problem. The effect is perhaps more like being pursued by > a persistent tache, rather than wearing a tache. Those with more powerful > hardware (or less inclination to move around in front of the camera) may > have more convincing results. > I have stolen the moustache and moustache positioning method from the > previous submissions - I hope that's OK. With any luck there'll be > something worth stealing back from my submission. > No attempts as yet at recording the effect (AVFoundation is a scary > labyrinth). > > https://gist.github.com/1469659 > > Al > > On 8 Dec 2011, at 09:23, Sean Mateus wrote: > > > Hi Pavlos, > > as we talked yesterday on twitter; I hope we can use this code > https://gist.github.com/1427886 as basis for the video version your > mustachification-script! > > > > you can ping me on twitter @seanlilmateus > > > > > > -- > > Sean Mateus > > ___ > > MacRuby-devel mailing list > > [email protected] > > http://lists.macosforge.org/mailman/listinfo.cgi/macruby-devel > > ___ > MacRuby-devel mailing list > [email protected] > http://lists.macosforge.org/mailman/listinfo.cgi/macruby-devel > -- Pavlos Vinieratos ___ MacRuby-devel mailing list [email protected] http://lists.macosforge.org/mailman/listinfo.cgi/macruby-devel
Re: [MacRuby-devel] MacRuby challenge
Hi, Could you create a new gist with your additions and post a link to it. I'll then take a look and see if I can discover the problem. It could be something to do with setting the anchorPoint on the CALayer, but that's just a wild guess at the minute. Al On 19 Dec 2011, at 13:42, Pavlos Vinieratos wrote: > hello alan. i was playing around with your gist, but the glasses and all the > extra layers are off. i positioned the layers over the face, but they always > stay to the right of the face, and the distance they are to the right, is not > even fixed. it comes closer to the face when i move to the left. > > i'm confused.. > > On Tue, Dec 13, 2011 at 2:07 AM, Alan Skipp wrote: > A bit late to the moustachioed party. But here is an attempt at the live > moustachification problem. The effect is perhaps more like being pursued by a > persistent tache, rather than wearing a tache. Those with more powerful > hardware (or less inclination to move around in front of the camera) may have > more convincing results. > I have stolen the moustache and moustache positioning method from the > previous submissions - I hope that's OK. With any luck there'll be something > worth stealing back from my submission. > No attempts as yet at recording the effect (AVFoundation is a scary > labyrinth). > > https://gist.github.com/1469659 > > Al > > On 8 Dec 2011, at 09:23, Sean Mateus wrote: > > > Hi Pavlos, > > as we talked yesterday on twitter; I hope we can use this code > > https://gist.github.com/1427886 as basis for the video version your > > mustachification-script! > > > > you can ping me on twitter @seanlilmateus > > > > > > -- > > Sean Mateus > > ___ > > MacRuby-devel mailing list > > [email protected] > > http://lists.macosforge.org/mailman/listinfo.cgi/macruby-devel > > ___ > MacRuby-devel mailing list > [email protected] > http://lists.macosforge.org/mailman/listinfo.cgi/macruby-devel > > > > -- > Pavlos Vinieratos > ___ > MacRuby-devel mailing list > [email protected] > http://lists.macosforge.org/mailman/listinfo.cgi/macruby-devel ___ MacRuby-devel mailing list [email protected] http://lists.macosforge.org/mailman/listinfo.cgi/macruby-devel
Re: [MacRuby-devel] MacRuby challenge
the mustache is off even in your original gist. am i right? or is this some kind of weird setup where its works on your mac and not on mine.. On Mon, Dec 19, 2011 at 4:22 PM, Alan Skipp wrote: > Hi, > Could you create a new gist with your additions and post a link to it. > I'll then take a look and see if I can discover the problem. It could be > something to do with setting the anchorPoint on the CALayer, but that's > just a wild guess at the minute. > > Al > > > On 19 Dec 2011, at 13:42, Pavlos Vinieratos wrote: > > hello alan. i was playing around with your gist, but the glasses and all > the extra layers are off. i positioned the layers over the face, but they > always stay to the right of the face, and the distance they are to the > right, is not even fixed. it comes closer to the face when i move to the > left. > > i'm confused.. > > On Tue, Dec 13, 2011 at 2:07 AM, Alan Skipp wrote: > >> A bit late to the moustachioed party. But here is an attempt at the live >> moustachification problem. The effect is perhaps more like being pursued by >> a persistent tache, rather than wearing a tache. Those with more powerful >> hardware (or less inclination to move around in front of the camera) may >> have more convincing results. >> I have stolen the moustache and moustache positioning method from the >> previous submissions - I hope that's OK. With any luck there'll be >> something worth stealing back from my submission. >> No attempts as yet at recording the effect (AVFoundation is a scary >> labyrinth). >> >> https://gist.github.com/1469659 >> >> Al >> >> On 8 Dec 2011, at 09:23, Sean Mateus wrote: >> >> > Hi Pavlos, >> > as we talked yesterday on twitter; I hope we can use this code >> https://gist.github.com/1427886 as basis for the video version your >> mustachification-script! >> > >> > you can ping me on twitter @seanlilmateus >> > >> > >> > -- >> > Sean Mateus >> > ___ >> > MacRuby-devel mailing list >> > [email protected] >> > http://lists.macosforge.org/mailman/listinfo.cgi/macruby-devel >> >> ___ >> MacRuby-devel mailing list >> [email protected] >> http://lists.macosforge.org/mailman/listinfo.cgi/macruby-devel >> > > > > -- > Pavlos Vinieratos > ___ > MacRuby-devel mailing list > [email protected] > http://lists.macosforge.org/mailman/listinfo.cgi/macruby-devel > > > > ___ > MacRuby-devel mailing list > [email protected] > http://lists.macosforge.org/mailman/listinfo.cgi/macruby-devel > > -- Pavlos Vinieratos ___ MacRuby-devel mailing list [email protected] http://lists.macosforge.org/mailman/listinfo.cgi/macruby-devel
Re: [MacRuby-devel] MacRuby challenge
Hmm… curious. The positioning code could certainly do with some refinement, but from my testing it's close enough for rock 'n' roll, as they say. Perhaps you added the code to an existing project which set-up the window/view/layer slightly differently? If not, then I'm confused also… Al On 19 Dec 2011, at 14:56, Pavlos Vinieratos wrote: > the mustache is off even in your original gist. am i right? or is this some > kind of weird setup where its works on your mac and not on mine.. > > On Mon, Dec 19, 2011 at 4:22 PM, Alan Skipp wrote: > Hi, > Could you create a new gist with your additions and post a link to it. I'll > then take a look and see if I can discover the problem. It could be something > to do with setting the anchorPoint on the CALayer, but that's just a wild > guess at the minute. > > Al > > > On 19 Dec 2011, at 13:42, Pavlos Vinieratos wrote: > >> hello alan. i was playing around with your gist, but the glasses and all the >> extra layers are off. i positioned the layers over the face, but they always >> stay to the right of the face, and the distance they are to the right, is >> not even fixed. it comes closer to the face when i move to the left. >> >> i'm confused.. >> >> On Tue, Dec 13, 2011 at 2:07 AM, Alan Skipp wrote: >> A bit late to the moustachioed party. But here is an attempt at the live >> moustachification problem. The effect is perhaps more like being pursued by >> a persistent tache, rather than wearing a tache. Those with more powerful >> hardware (or less inclination to move around in front of the camera) may >> have more convincing results. >> I have stolen the moustache and moustache positioning method from the >> previous submissions - I hope that's OK. With any luck there'll be something >> worth stealing back from my submission. >> No attempts as yet at recording the effect (AVFoundation is a scary >> labyrinth). >> >> https://gist.github.com/1469659 >> >> Al >> >> On 8 Dec 2011, at 09:23, Sean Mateus wrote: >> >> > Hi Pavlos, >> > as we talked yesterday on twitter; I hope we can use this code >> > https://gist.github.com/1427886 as basis for the video version your >> > mustachification-script! >> > >> > you can ping me on twitter @seanlilmateus >> > >> > >> > -- >> > Sean Mateus >> > ___ >> > MacRuby-devel mailing list >> > [email protected] >> > http://lists.macosforge.org/mailman/listinfo.cgi/macruby-devel >> >> ___ >> MacRuby-devel mailing list >> [email protected] >> http://lists.macosforge.org/mailman/listinfo.cgi/macruby-devel >> >> >> >> -- >> Pavlos Vinieratos >> ___ >> MacRuby-devel mailing list >> [email protected] >> http://lists.macosforge.org/mailman/listinfo.cgi/macruby-devel > > > ___ > MacRuby-devel mailing list > [email protected] > http://lists.macosforge.org/mailman/listinfo.cgi/macruby-devel > > > > > -- > Pavlos Vinieratos > ___ > MacRuby-devel mailing list > [email protected] > http://lists.macosforge.org/mailman/listinfo.cgi/macruby-devel ___ MacRuby-devel mailing list [email protected] http://lists.macosforge.org/mailman/listinfo.cgi/macruby-devel
Re: [MacRuby-devel] MacRuby challenge
this is what i mean. http://dl.dropbox.com/u/349788/Screen%20Shot%202011-12-19%20at%2017.56.35.JPG On Mon, Dec 19, 2011 at 5:34 PM, Alan Skipp wrote: > Hmm… curious. > The positioning code could certainly do with some refinement, but from my > testing it's close enough for rock 'n' roll, as they say. Perhaps you added > the code to an existing project which set-up the window/view/layer slightly > differently? If not, then I'm confused also… > > Al > > On 19 Dec 2011, at 14:56, Pavlos Vinieratos wrote: > > the mustache is off even in your original gist. am i right? or is this > some kind of weird setup where its works on your mac and not on mine.. > > On Mon, Dec 19, 2011 at 4:22 PM, Alan Skipp wrote: > >> Hi, >> Could you create a new gist with your additions and post a link to it. >> I'll then take a look and see if I can discover the problem. It could be >> something to do with setting the anchorPoint on the CALayer, but that's >> just a wild guess at the minute. >> >> Al >> >> >> On 19 Dec 2011, at 13:42, Pavlos Vinieratos wrote: >> >> hello alan. i was playing around with your gist, but the glasses and all >> the extra layers are off. i positioned the layers over the face, but they >> always stay to the right of the face, and the distance they are to the >> right, is not even fixed. it comes closer to the face when i move to the >> left. >> >> i'm confused.. >> >> On Tue, Dec 13, 2011 at 2:07 AM, Alan Skipp wrote: >> >>> A bit late to the moustachioed party. But here is an attempt at the live >>> moustachification problem. The effect is perhaps more like being pursued by >>> a persistent tache, rather than wearing a tache. Those with more powerful >>> hardware (or less inclination to move around in front of the camera) may >>> have more convincing results. >>> I have stolen the moustache and moustache positioning method from the >>> previous submissions - I hope that's OK. With any luck there'll be >>> something worth stealing back from my submission. >>> No attempts as yet at recording the effect (AVFoundation is a scary >>> labyrinth). >>> >>> https://gist.github.com/1469659 >>> >>> Al >>> >>> On 8 Dec 2011, at 09:23, Sean Mateus wrote: >>> >>> > Hi Pavlos, >>> > as we talked yesterday on twitter; I hope we can use this code >>> https://gist.github.com/1427886 as basis for the video version your >>> mustachification-script! >>> > >>> > you can ping me on twitter @seanlilmateus >>> > >>> > >>> > -- >>> > Sean Mateus >>> > ___ >>> > MacRuby-devel mailing list >>> > [email protected] >>> > http://lists.macosforge.org/mailman/listinfo.cgi/macruby-devel >>> >>> ___ >>> MacRuby-devel mailing list >>> [email protected] >>> http://lists.macosforge.org/mailman/listinfo.cgi/macruby-devel >>> >> >> >> >> -- >> Pavlos Vinieratos >> ___ >> MacRuby-devel mailing list >> [email protected] >> http://lists.macosforge.org/mailman/listinfo.cgi/macruby-devel >> >> >> >> ___ >> MacRuby-devel mailing list >> [email protected] >> http://lists.macosforge.org/mailman/listinfo.cgi/macruby-devel >> >> > > > -- > Pavlos Vinieratos > ___ > MacRuby-devel mailing list > [email protected] > http://lists.macosforge.org/mailman/listinfo.cgi/macruby-devel > > > > ___ > MacRuby-devel mailing list > [email protected] > http://lists.macosforge.org/mailman/listinfo.cgi/macruby-devel > > -- Pavlos Vinieratos ___ MacRuby-devel mailing list [email protected] http://lists.macosforge.org/mailman/listinfo.cgi/macruby-devel
Re: [MacRuby-devel] MacRuby challenge
The only thing that I can think of which could account for the wrong positioning is the resolution of your webcam/isight. A resolution of 640x480 is assumed in the code, if your webcam is higher resolution then that could explain the discrepancy. Try adding the following line (after initialising the AVCaptureSession). session.sessionPreset = AVCaptureSessionPreset640x480 Al On 19 Dec 2011, at 15:58, Pavlos Vinieratos wrote: > this is what i mean. > http://dl.dropbox.com/u/349788/Screen%20Shot%202011-12-19%20at%2017.56.35.JPG > > On Mon, Dec 19, 2011 at 5:34 PM, Alan Skipp wrote: > Hmm… curious. > The positioning code could certainly do with some refinement, but from my > testing it's close enough for rock 'n' roll, as they say. Perhaps you added > the code to an existing project which set-up the window/view/layer slightly > differently? If not, then I'm confused also… > > Al > > On 19 Dec 2011, at 14:56, Pavlos Vinieratos wrote: > >> the mustache is off even in your original gist. am i right? or is this some >> kind of weird setup where its works on your mac and not on mine.. >> >> On Mon, Dec 19, 2011 at 4:22 PM, Alan Skipp wrote: >> Hi, >> Could you create a new gist with your additions and post a link to it. I'll >> then take a look and see if I can discover the problem. It could be >> something to do with setting the anchorPoint on the CALayer, but that's just >> a wild guess at the minute. >> >> Al >> >> >> On 19 Dec 2011, at 13:42, Pavlos Vinieratos wrote: >> >>> hello alan. i was playing around with your gist, but the glasses and all >>> the extra layers are off. i positioned the layers over the face, but they >>> always stay to the right of the face, and the distance they are to the >>> right, is not even fixed. it comes closer to the face when i move to the >>> left. >>> >>> i'm confused.. >>> >>> On Tue, Dec 13, 2011 at 2:07 AM, Alan Skipp wrote: >>> A bit late to the moustachioed party. But here is an attempt at the live >>> moustachification problem. The effect is perhaps more like being pursued by >>> a persistent tache, rather than wearing a tache. Those with more powerful >>> hardware (or less inclination to move around in front of the camera) may >>> have more convincing results. >>> I have stolen the moustache and moustache positioning method from the >>> previous submissions - I hope that's OK. With any luck there'll be >>> something worth stealing back from my submission. >>> No attempts as yet at recording the effect (AVFoundation is a scary >>> labyrinth). >>> >>> https://gist.github.com/1469659 >>> >>> Al >>> >>> On 8 Dec 2011, at 09:23, Sean Mateus wrote: >>> >>> > Hi Pavlos, >>> > as we talked yesterday on twitter; I hope we can use this code >>> > https://gist.github.com/1427886 as basis for the video version your >>> > mustachification-script! >>> > >>> > you can ping me on twitter @seanlilmateus >>> > >>> > >>> > -- >>> > Sean Mateus >>> > ___ >>> > MacRuby-devel mailing list >>> > [email protected] >>> > http://lists.macosforge.org/mailman/listinfo.cgi/macruby-devel >>> >>> ___ >>> MacRuby-devel mailing list >>> [email protected] >>> http://lists.macosforge.org/mailman/listinfo.cgi/macruby-devel >>> >>> >>> >>> -- >>> Pavlos Vinieratos >>> ___ >>> MacRuby-devel mailing list >>> [email protected] >>> http://lists.macosforge.org/mailman/listinfo.cgi/macruby-devel >> >> >> ___ >> MacRuby-devel mailing list >> [email protected] >> http://lists.macosforge.org/mailman/listinfo.cgi/macruby-devel >> >> >> >> >> -- >> Pavlos Vinieratos >> ___ >> MacRuby-devel mailing list >> [email protected] >> http://lists.macosforge.org/mailman/listinfo.cgi/macruby-devel > > > ___ > MacRuby-devel mailing list > [email protected] > http://lists.macosforge.org/mailman/listinfo.cgi/macruby-devel > > > > > -- > Pavlos Vinieratos > ___ > MacRuby-devel mailing list > [email protected] > http://lists.macosforge.org/mailman/listinfo.cgi/macruby-devel ___ MacRuby-devel mailing list [email protected] http://lists.macosforge.org/mailman/listinfo.cgi/macruby-devel
Re: [MacRuby-devel] MacRuby challenge
no matter which preset i try, the mustache is off by the same distance. could you show me how it's showing up on your mac? or even better, could you add a layer over each eye and mouth, with a bit of color and alpha, like matt's original gist? On Mon, Dec 19, 2011 at 6:37 PM, Alan Skipp wrote: > The only thing that I can think of which could account for the wrong > positioning is the resolution of your webcam/isight. A resolution of > 640x480 is assumed in the code, if your webcam is higher resolution then > that could explain the discrepancy. > > Try adding the following line (after initialising the AVCaptureSession). > > session.sessionPreset = AVCaptureSessionPreset640x480 > > Al > > > On 19 Dec 2011, at 15:58, Pavlos Vinieratos wrote: > > this is what i mean. > > http://dl.dropbox.com/u/349788/Screen%20Shot%202011-12-19%20at%2017.56.35.JPG > > On Mon, Dec 19, 2011 at 5:34 PM, Alan Skipp wrote: > >> Hmm… curious. >> The positioning code could certainly do with some refinement, but from my >> testing it's close enough for rock 'n' roll, as they say. Perhaps you added >> the code to an existing project which set-up the window/view/layer slightly >> differently? If not, then I'm confused also… >> >> Al >> >> On 19 Dec 2011, at 14:56, Pavlos Vinieratos wrote: >> >> the mustache is off even in your original gist. am i right? or is this >> some kind of weird setup where its works on your mac and not on mine.. >> >> On Mon, Dec 19, 2011 at 4:22 PM, Alan Skipp wrote: >> >>> Hi, >>> Could you create a new gist with your additions and post a link to it. >>> I'll then take a look and see if I can discover the problem. It could be >>> something to do with setting the anchorPoint on the CALayer, but that's >>> just a wild guess at the minute. >>> >>> Al >>> >>> >>> On 19 Dec 2011, at 13:42, Pavlos Vinieratos wrote: >>> >>> hello alan. i was playing around with your gist, but the glasses and all >>> the extra layers are off. i positioned the layers over the face, but they >>> always stay to the right of the face, and the distance they are to the >>> right, is not even fixed. it comes closer to the face when i move to the >>> left. >>> >>> i'm confused.. >>> >>> On Tue, Dec 13, 2011 at 2:07 AM, Alan Skipp wrote: >>> A bit late to the moustachioed party. But here is an attempt at the live moustachification problem. The effect is perhaps more like being pursued by a persistent tache, rather than wearing a tache. Those with more powerful hardware (or less inclination to move around in front of the camera) may have more convincing results. I have stolen the moustache and moustache positioning method from the previous submissions - I hope that's OK. With any luck there'll be something worth stealing back from my submission. No attempts as yet at recording the effect (AVFoundation is a scary labyrinth). https://gist.github.com/1469659 Al On 8 Dec 2011, at 09:23, Sean Mateus wrote: > Hi Pavlos, > as we talked yesterday on twitter; I hope we can use this code https://gist.github.com/1427886 as basis for the video version your mustachification-script! > > you can ping me on twitter @seanlilmateus > > > -- > Sean Mateus > ___ > MacRuby-devel mailing list > [email protected] > http://lists.macosforge.org/mailman/listinfo.cgi/macruby-devel ___ MacRuby-devel mailing list [email protected] http://lists.macosforge.org/mailman/listinfo.cgi/macruby-devel >>> >>> >>> >>> -- >>> Pavlos Vinieratos >>> ___ >>> MacRuby-devel mailing list >>> [email protected] >>> http://lists.macosforge.org/mailman/listinfo.cgi/macruby-devel >>> >>> >>> >>> ___ >>> MacRuby-devel mailing list >>> [email protected] >>> http://lists.macosforge.org/mailman/listinfo.cgi/macruby-devel >>> >>> >> >> >> -- >> Pavlos Vinieratos >> ___ >> MacRuby-devel mailing list >> [email protected] >> http://lists.macosforge.org/mailman/listinfo.cgi/macruby-devel >> >> >> >> ___ >> MacRuby-devel mailing list >> [email protected] >> http://lists.macosforge.org/mailman/listinfo.cgi/macruby-devel >> >> > > > -- > Pavlos Vinieratos > ___ > MacRuby-devel mailing list > [email protected] > http://lists.macosforge.org/mailman/listinfo.cgi/macruby-devel > > > > ___ > MacRuby-devel mailing list > [email protected] > http://lists.macosforge.org/mailman/listinfo.cgi/macruby-devel > > -- Pavlos Vinieratos
Re: [MacRuby-devel] MacRuby challenge
FWIW, it works great for me on a MacBook air of fairly recent vintage. The stash even tilts as you tilt your face! Beauty. Sent from my iPhone On Dec 19, 2011, at 16:34, Alan Skipp wrote: > Hmm… curious. > The positioning code could certainly do with some refinement, but from my > testing it's close enough for rock 'n' roll, as they say. Perhaps you added > the code to an existing project which set-up the window/view/layer slightly > differently? If not, then I'm confused also… > > Al > > On 19 Dec 2011, at 14:56, Pavlos Vinieratos wrote: > >> the mustache is off even in your original gist. am i right? or is this some >> kind of weird setup where its works on your mac and not on mine.. >> >> On Mon, Dec 19, 2011 at 4:22 PM, Alan Skipp wrote: >> Hi, >> Could you create a new gist with your additions and post a link to it. I'll >> then take a look and see if I can discover the problem. It could be >> something to do with setting the anchorPoint on the CALayer, but that's just >> a wild guess at the minute. >> >> Al >> >> >> On 19 Dec 2011, at 13:42, Pavlos Vinieratos wrote: >> >>> hello alan. i was playing around with your gist, but the glasses and all >>> the extra layers are off. i positioned the layers over the face, but they >>> always stay to the right of the face, and the distance they are to the >>> right, is not even fixed. it comes closer to the face when i move to the >>> left. >>> >>> i'm confused.. >>> >>> On Tue, Dec 13, 2011 at 2:07 AM, Alan Skipp wrote: >>> A bit late to the moustachioed party. But here is an attempt at the live >>> moustachification problem. The effect is perhaps more like being pursued by >>> a persistent tache, rather than wearing a tache. Those with more powerful >>> hardware (or less inclination to move around in front of the camera) may >>> have more convincing results. >>> I have stolen the moustache and moustache positioning method from the >>> previous submissions - I hope that's OK. With any luck there'll be >>> something worth stealing back from my submission. >>> No attempts as yet at recording the effect (AVFoundation is a scary >>> labyrinth). >>> >>> https://gist.github.com/1469659 >>> >>> Al >>> >>> On 8 Dec 2011, at 09:23, Sean Mateus wrote: >>> >>> > Hi Pavlos, >>> > as we talked yesterday on twitter; I hope we can use this code >>> > https://gist.github.com/1427886 as basis for the video version your >>> > mustachification-script! >>> > >>> > you can ping me on twitter @seanlilmateus >>> > >>> > >>> > -- >>> > Sean Mateus >>> > ___ >>> > MacRuby-devel mailing list >>> > [email protected] >>> > http://lists.macosforge.org/mailman/listinfo.cgi/macruby-devel >>> >>> ___ >>> MacRuby-devel mailing list >>> [email protected] >>> http://lists.macosforge.org/mailman/listinfo.cgi/macruby-devel >>> >>> >>> >>> -- >>> Pavlos Vinieratos >>> ___ >>> MacRuby-devel mailing list >>> [email protected] >>> http://lists.macosforge.org/mailman/listinfo.cgi/macruby-devel >> >> >> ___ >> MacRuby-devel mailing list >> [email protected] >> http://lists.macosforge.org/mailman/listinfo.cgi/macruby-devel >> >> >> >> >> -- >> Pavlos Vinieratos >> ___ >> MacRuby-devel mailing list >> [email protected] >> http://lists.macosforge.org/mailman/listinfo.cgi/macruby-devel > > ___ > MacRuby-devel mailing list > [email protected] > http://lists.macosforge.org/mailman/listinfo.cgi/macruby-devel ___ MacRuby-devel mailing list [email protected] http://lists.macosforge.org/mailman/listinfo.cgi/macruby-devel
Re: [MacRuby-devel] MacRuby challenge
When I tried the live video script, the items weren't properly located either. -m Sent from my iPhone On Dec 19, 2011, at 12:34, Alan Skipp wrote: > Hmm… curious. > The positioning code could certainly do with some refinement, but from my > testing it's close enough for rock 'n' roll, as they say. Perhaps you added > the code to an existing project which set-up the window/view/layer slightly > differently? If not, then I'm confused also… > > Al > > On 19 Dec 2011, at 14:56, Pavlos Vinieratos wrote: > >> the mustache is off even in your original gist. am i right? or is this some >> kind of weird setup where its works on your mac and not on mine.. >> >> On Mon, Dec 19, 2011 at 4:22 PM, Alan Skipp wrote: >> Hi, >> Could you create a new gist with your additions and post a link to it. I'll >> then take a look and see if I can discover the problem. It could be >> something to do with setting the anchorPoint on the CALayer, but that's just >> a wild guess at the minute. >> >> Al >> >> >> On 19 Dec 2011, at 13:42, Pavlos Vinieratos wrote: >> >>> hello alan. i was playing around with your gist, but the glasses and all >>> the extra layers are off. i positioned the layers over the face, but they >>> always stay to the right of the face, and the distance they are to the >>> right, is not even fixed. it comes closer to the face when i move to the >>> left. >>> >>> i'm confused.. >>> >>> On Tue, Dec 13, 2011 at 2:07 AM, Alan Skipp wrote: >>> A bit late to the moustachioed party. But here is an attempt at the live >>> moustachification problem. The effect is perhaps more like being pursued by >>> a persistent tache, rather than wearing a tache. Those with more powerful >>> hardware (or less inclination to move around in front of the camera) may >>> have more convincing results. >>> I have stolen the moustache and moustache positioning method from the >>> previous submissions - I hope that's OK. With any luck there'll be >>> something worth stealing back from my submission. >>> No attempts as yet at recording the effect (AVFoundation is a scary >>> labyrinth). >>> >>> https://gist.github.com/1469659 >>> >>> Al >>> >>> On 8 Dec 2011, at 09:23, Sean Mateus wrote: >>> >>> > Hi Pavlos, >>> > as we talked yesterday on twitter; I hope we can use this code >>> > https://gist.github.com/1427886 as basis for the video version your >>> > mustachification-script! >>> > >>> > you can ping me on twitter @seanlilmateus >>> > >>> > >>> > -- >>> > Sean Mateus >>> > ___ >>> > MacRuby-devel mailing list >>> > [email protected] >>> > http://lists.macosforge.org/mailman/listinfo.cgi/macruby-devel >>> >>> ___ >>> MacRuby-devel mailing list >>> [email protected] >>> http://lists.macosforge.org/mailman/listinfo.cgi/macruby-devel >>> >>> >>> >>> -- >>> Pavlos Vinieratos >>> ___ >>> MacRuby-devel mailing list >>> [email protected] >>> http://lists.macosforge.org/mailman/listinfo.cgi/macruby-devel >> >> >> ___ >> MacRuby-devel mailing list >> [email protected] >> http://lists.macosforge.org/mailman/listinfo.cgi/macruby-devel >> >> >> >> >> -- >> Pavlos Vinieratos >> ___ >> MacRuby-devel mailing list >> [email protected] >> http://lists.macosforge.org/mailman/listinfo.cgi/macruby-devel > > ___ > MacRuby-devel mailing list > [email protected] > http://lists.macosforge.org/mailman/listinfo.cgi/macruby-devel ___ MacRuby-devel mailing list [email protected] http://lists.macosforge.org/mailman/listinfo.cgi/macruby-devel
Re: [MacRuby-devel] MacRuby challenge
On Dec 19, 2011, at 8:37 PM, Matt Aimonetti wrote: > When I tried the live video script, the items weren't properly located either. Given that "it works on my machine" and obviously Alan's as well, maybe people should start posting their hardware configurations along with the "it doesn't work for me!" reports. :) - Jordan ___ MacRuby-devel mailing list [email protected] http://lists.macosforge.org/mailman/listinfo.cgi/macruby-devel
Re: [MacRuby-devel] MacRuby challenge
Sounds like a good idea. How about screen size for starters? Steve On 19 Dec 2011, at 21:34, Jordan K. Hubbard wrote: > > On Dec 19, 2011, at 8:37 PM, Matt Aimonetti wrote: > >> When I tried the live video script, the items weren't properly located >> either. > > Given that "it works on my machine" and obviously Alan's as well, maybe > people should start posting their hardware configurations along with the "it > doesn't work for me!" reports. :) > > - Jordan > > ___ > MacRuby-devel mailing list > [email protected] > http://lists.macosforge.org/mailman/listinfo.cgi/macruby-devel ___ MacRuby-devel mailing list [email protected] http://lists.macosforge.org/mailman/listinfo.cgi/macruby-devel
Re: [MacRuby-devel] MacRuby challenge
there is something fishy here.. imac 27 with the isight of 2011 here, and the hack you posted still isn't fixed. 2011/12/20 Steve Clarke > Sounds like a good idea. How about screen size for starters? > > Steve > > On 19 Dec 2011, at 21:34, Jordan K. Hubbard wrote: > > > On Dec 19, 2011, at 8:37 PM, Matt Aimonetti wrote: > > When I tried the live video script, the items weren't properly located > either. > > > Given that "it works on my machine" and obviously Alan's as well, maybe > people should start posting their hardware configurations along with the > "it doesn't work for me!" reports. :) > > - Jordan > > ___ > MacRuby-devel mailing list > [email protected] > http://lists.macosforge.org/mailman/listinfo.cgi/macruby-devel > > > > ___ > MacRuby-devel mailing list > [email protected] > http://lists.macosforge.org/mailman/listinfo.cgi/macruby-devel > > -- Pavlos Vinieratos ___ MacRuby-devel mailing list [email protected] http://lists.macosforge.org/mailman/listinfo.cgi/macruby-devel
Re: [MacRuby-devel] MacRuby challenge
OK folks, I think I've fixed the problem. Though I've only got the one mac here, so can't be certain. Those interested in animated superimposed moustaches, please find the code at: https://gist.github.com/1469659 To attempt a hi-definition facial appendage, use the following settings (appropriate hardware is required). width = 1280 height = 720 session.sessionPreset = AVCaptureSessionPreset1280x720 Do let me know if this fixes the issue. Al On 19 Dec 2011, at 19:37, Matt Aimonetti wrote: > When I tried the live video script, the items weren't properly located either. > > -m > Sent from my iPhone > > On Dec 19, 2011, at 12:34, Alan Skipp wrote: > >> Hmm… curious. >> The positioning code could certainly do with some refinement, but from my >> testing it's close enough for rock 'n' roll, as they say. Perhaps you added >> the code to an existing project which set-up the window/view/layer slightly >> differently? If not, then I'm confused also… >> >> Al >> >> On 19 Dec 2011, at 14:56, Pavlos Vinieratos wrote: >> >>> the mustache is off even in your original gist. am i right? or is this some >>> kind of weird setup where its works on your mac and not on mine.. >>> >>> On Mon, Dec 19, 2011 at 4:22 PM, Alan Skipp wrote: >>> Hi, >>> Could you create a new gist with your additions and post a link to it. I'll >>> then take a look and see if I can discover the problem. It could be >>> something to do with setting the anchorPoint on the CALayer, but that's >>> just a wild guess at the minute. >>> >>> Al >>> >>> >>> On 19 Dec 2011, at 13:42, Pavlos Vinieratos wrote: >>> hello alan. i was playing around with your gist, but the glasses and all the extra layers are off. i positioned the layers over the face, but they always stay to the right of the face, and the distance they are to the right, is not even fixed. it comes closer to the face when i move to the left. i'm confused.. On Tue, Dec 13, 2011 at 2:07 AM, Alan Skipp wrote: A bit late to the moustachioed party. But here is an attempt at the live moustachification problem. The effect is perhaps more like being pursued by a persistent tache, rather than wearing a tache. Those with more powerful hardware (or less inclination to move around in front of the camera) may have more convincing results. I have stolen the moustache and moustache positioning method from the previous submissions - I hope that's OK. With any luck there'll be something worth stealing back from my submission. No attempts as yet at recording the effect (AVFoundation is a scary labyrinth). https://gist.github.com/1469659 Al On 8 Dec 2011, at 09:23, Sean Mateus wrote: > Hi Pavlos, > as we talked yesterday on twitter; I hope we can use this code > https://gist.github.com/1427886 as basis for the video version your > mustachification-script! > > you can ping me on twitter @seanlilmateus > > > -- > Sean Mateus > ___ > MacRuby-devel mailing list > [email protected] > http://lists.macosforge.org/mailman/listinfo.cgi/macruby-devel ___ MacRuby-devel mailing list [email protected] http://lists.macosforge.org/mailman/listinfo.cgi/macruby-devel -- Pavlos Vinieratos ___ MacRuby-devel mailing list [email protected] http://lists.macosforge.org/mailman/listinfo.cgi/macruby-devel >>> >>> >>> ___ >>> MacRuby-devel mailing list >>> [email protected] >>> http://lists.macosforge.org/mailman/listinfo.cgi/macruby-devel >>> >>> >>> >>> >>> -- >>> Pavlos Vinieratos >>> ___ >>> MacRuby-devel mailing list >>> [email protected] >>> http://lists.macosforge.org/mailman/listinfo.cgi/macruby-devel >> >> ___ >> MacRuby-devel mailing list >> [email protected] >> http://lists.macosforge.org/mailman/listinfo.cgi/macruby-devel > ___ > MacRuby-devel mailing list > [email protected] > http://lists.macosforge.org/mailman/listinfo.cgi/macruby-devel ___ MacRuby-devel mailing list [email protected] http://lists.macosforge.org/mailman/listinfo.cgi/macruby-devel
