Face/movement recognition with camera in Objective C - objective-c

I have an app that is located in a showroom. It cycles through several pictures. Now what I been requested to do is to add functionality so that when the camera detects a face, it needs to change to a video.
How can I accomplish this in objective C? I am using iPad 2, but can move to the new iPad

You can use CIFaceDetector, apple sample code here

You can use OpenCV. Demo App is hosted at Google Code.

Related

How to send big picture push notification in ios like android big picture?

I want to display big picture in iOS app when push notification comes, I checked in android it is displaying big picture when we expand that notification , how I can get same thing in iOS with object-c language.
I heard some where that we can send that kind of push notifications in iOS v10, I had searched for that but that is in swift language, how can I get same thing in objective-c or how can I merge swift language code with objective-c language.
iOS -10 supports big picture with gif image also: https://blog.pusher.com/how-to-send-ios-10-notifications-using-the-push-notifications-api/
I want to use same thing in objective- c

Can watch from watchkit run videos?

Is there any way to run videos on Apple watch using Watchkit within my app? I tried finding any video player, but there was nothing. Thanks!
No - there's currently no way to run video on Apple Watch using Watchkit.
Depending on your desired outcome, you may be interested in the Animation capabilities of WatchKit. By adding a series of images into your Watch App bundle, WatchKit allows you to cycle through them at up to 120 fps or slower when fetching images from iPhone.
You could accomplish some pretty amazing results by animating images, although bare in mind image resources need to be kept to a minimum.
I suggest this tutorial on WatchKit Animation
and this Swift framework for rendering UIViews as image sequences in WatchKit.

iphone app that takes photo or video in one view

i am looking for some sample code/tutorial that will demonstrate taking a photo or video using one view in an iPhone app, with a toggle switch. Similar to the built-in iOS camer app.
any help is greatly appreciated!
This library includes the functionality for both photo and video taking. Also, it allows you to present a popup for the user to select photo/video.
https://www.cocoacontrols.com/controls/fdtake

IOS API to use to create app intro in a Flash way

I need to create an intro for IOS app, I want to create transition between images like Macos X screensaver themes (beach, forest...) with music, and text appearing and fading. I don't know exactly which IOS API/framework is the most suitable to use to achieve this. I will appreciate suggestions or links to tutorials.
Many thanks
These links might give you some inspiration on at least how to get started:
iphone fading of images
http://www.youtube.com/watch?v=a4M0BkJwLT0
How about UIImageView and UILabel, with block animation?

How to embed a video player in NSView?

I want to embed a video player in an NSView. I also want to play different files, passing the path of these files. Is it possible to implement in a Mac application?
For QTKit, the QTKit Application Tutorial - Creating a Simple QTKit Media Player Application takes you through the basic steps.
Take a look at the AVFoundation frameworks now in 10.7 - AVPlayer looks like a good start.