• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Simulate touch event with cordinate?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Simulate touch event with cordinate?


  • Subject: Re: Simulate touch event with cordinate?
  • From: Rikza Azriyan <email@hidden>
  • Date: Sun, 03 Apr 2011 09:59:02 +0700

Thanks for Steve,dave,chase,gary,sherm,jesse and All list member who had respond for my question,,

Maybe the solution i have to pass my face cordinate Directly to the Animation..as dave said..

Just for share:
I recently found the way how to synthesize The UITouch Event in someone blog, with the sample Code.
->Try "synyhesize touch event" (cocoawithlove.com)
But it's seem complicated for me to understand.
paasing the cordinate to the animation might be the best solution.

Thanks All :)

Rikza Azriyan
Student of Sriwijaya University
Palembang, Indonesia

Sent from my iPhone
Provided by Telkomsel.

On Apr 3, 2011, at 1:06 AM, Steve Christensen <email@hidden> wrote:

> On Apr 1, 2011, at 10:25 PM, Rikza Azriyan wrote:
>
>> Yes, i want to make an application like ibooks that the user can navigate the page by swipe the screen, than
>>> - (void)touchesMoved:(NSSet *)touches withEvent:(UIEvent *)event;
>> Will respond for that swipe...
>> But in my case, i don't want to make that swipe with my finger...
>> I want to make that swipe by my face....
>> So that i want to implement my facetracking algorithm on my iphone 4...detecting the face by frontcamera, and give the output result as the face position cordinate.
>> I'm going to use this cordinate as realtime dragging event on my PDF reader as if the finger swiping in my screen. As ibooks did use finger for swipe...
>
> Chase's solution is still the way you want to go, no matter what how you gather the points. He just phrased it as an example that uses a touch event in one case and a "scripted" movement in another. In each case, they call a common method that handles the actual movement between a pair of points, but doesn't care how those points were calculated.
>
> For your case, your face tracking algorithm could calculate points based on whatever algorithm it uses and then pass those points to that common movement method. Conceivably you could have a book reading experience where someone who has use of their hands could swipe the screen and someone who doesn't could take advantage of face tracking.
>
_______________________________________________

Cocoa-dev mailing list (email@hidden)

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden

References: 
 >Re: Simulate touch event with cordinate? (From: Fritz Anderson <email@hidden>)
 >Re: Simulate touch event with cordinate? (From: Rikza Azriyan <email@hidden>)
 >Re: Simulate touch event with cordinate? (From: Conrad Shultz <email@hidden>)
 >Re: Simulate touch event with cordinate? (From: Chase Latta <email@hidden>)
 >Re: Simulate touch event with cordinate? (From: Rikza Azriyan <email@hidden>)
 >Re: Simulate touch event with cordinate? (From: Steve Christensen <email@hidden>)

  • Prev by Date: Re: applicationWillTerminate not received
  • Next by Date: Re: An "Open With..." submenu...
  • Previous by thread: Re: Simulate touch event with cordinate?
  • Next by thread: Re: Seeking advice for how to implement "notification" upon completion of asynchronous upload
  • Index(es):
    • Date
    • Thread