Re: Simulate touch event with cordinate?
Re: Simulate touch event with cordinate?
- Subject: Re: Simulate touch event with cordinate?
- From: Dave Camp <email@hidden>
- Date: Sat, 02 Apr 2011 08:55:28 -0700
Since you are doing this in your own application, just get the data from your face tracking code and call your animation code directly. I don't think it's possible to create a UITouch with the public APIs.
Dave
On Apr 1, 2011, at 10:25 PM, Rikza Azriyan wrote:
> Thanks chase for your reply,
> 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...
> that what i want to do chase...
_______________________________________________
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