Description
The EVFaceTracker framework is a powerful library designed to simplify face detection and tracking on iOS devices. It provides a comprehensive set of features for real-time face recognition, including face tracking, landmark detection, and facial attribute analysis.
With EVFaceTracker, you can integrate advanced face detection and tracking capabilities into your iOS applications with ease. Whether you’re building an augmented reality app, a camera application, or an app that requires facial analysis, EVFaceTracker has got you covered.
Features
- Real-time face detection
- Facial landmark detection
- Face tracking for continuous tracking of facial movements
- Facial attribute analysis, such as gender, age, and emotion detection
- Multiple face detection and tracking simultaneously
- Option to use either the front or rear camera
Installation
To install EVFaceTracker in your iOS project, you can use CocoaPods. Simply add the following line to your Podfile:
pod 'EVFaceTracker'
Then, run pod install command in Terminal and open the generated .xcworkspace file to begin using EVFaceTracker.
Usage
Using EVFaceTracker in your iOS app is straightforward. Follow these steps to get started:
- Add
import EVFaceTracker
to the top of your view controller file - Create an instance of
EVFaceTrackerManager
in your view controller - Implement the delegate methods of
EVFaceTrackerDelegate
to receive face detection and tracking updates - Start the face detection and tracking process by calling
startTracking()
- Implement the necessary UI elements to display the detected faces and relevant information
- To stop the face detection and tracking process, call
stopTracking()
Example
Here’s a simple example of how to use EVFaceTracker in your iOS app:
import UIKit
import EVFaceTracker
class ViewController: UIViewController, EVFaceTrackerDelegate {
private var faceTrackerManager: EVFaceTrackerManager!
override func viewDidLoad() {
super.viewDidLoad()
faceTrackerManager = EVFaceTrackerManager()
faceTrackerManager.delegate = self
faceTrackerManager.startTracking()
}
func faceTrackerDidUpdate(faces: [EVFace]) {
for face in faces {
print("Center: \\(face.center)")
}
}
func faceTrackerStatusDidChange(status: EVFaceTrackerStatus) {
if status == .failed {
print("Face tracker failed")
}
else if status == .notAuthorized {
print("Face tracker not authorized")
}
}
override func viewWillDisappear(_ animated: Bool) {
super.viewWillDisappear(animated)
faceTrackerManager.stopTracking()
}
}
Requirements
EVFaceTracker requires:
- iOS 11.0+
- Xcode 11.0+
- Swift 5.0+
Contact
If you have any questions or need assistance with EVFaceTracker, you can contact our support team at support@evfacetracker.com. We’re always here to help!