Use the Demo App for iOS
The SDK ships with a simple example application that demonstrates how to set up an object tracker, how to feed it with video frames from a camera, and how to receive information about detected and recognized persons from the object tracker.
The iOS demo application has been updated to demonstrate additional features:
- Prompt the user for sign-in/registration credentials. This includes username, password, and directory.
- Allow the user to change the SAFR Cloud environment. The application now can be used in offline mode. This means that credentials are no longer required to use the sample application. In offline mode the user can only see detected faces and these faces are not sent for recognition.
- A settings page has been added to demonstrate many of the common settings that can be configured in the SAFR iOS SDK.
- Draw a tracking circle around the detected face.
- Augment the tracked face with face-quality metrics:
- CPQ — Center pose quality.
- Yaw — Left/right movement.
- Pitch — Up/down movement.
- Roll — Side-to-side movement.
- Augment the tracked face with face detection attributes if a SAFR Cloud account is used:
- Gender.
- Age.
- Sentiment — Positive, Neutral, or Negative.
- Smiling — Yes/No.
- Image Analyzer — Demonstrates how to use the Image Analyzer with photos in the camera roll on an iOS device. After selecting a photo, the faces are shown in the same way as with the object tracker.
- Event Reporter - This demonstrates how to use the Event Reporter to configure event reporting while processing a video stream.
See Also