This project is a Swift application for real-time face detection on iOS devices. Using the AVFoundation and Vision frameworks, it detects faces in images from the device's camera and displays them on an AVCaptureVideoPreviewLayer
.
- Real-time face detection
- Visualizing facial boundaries
- Reporting the number of faces
Follow the steps below to run the project locally:
- Clone or download the project from GitHub.
- Open Xcode and select the project file you downloaded.
- Connect an iOS device to your computer and run the project on your device.
When the app is launched, the camera image will be automatically displayed on the screen and when faces are detected they will be marked with a frame on the screen.
If you would like to contribute to the project, please follow the steps below:
- Fork the project.
- Create a branch called feature/bugfix (
git checkout -b feature/fooBar
). - Commit your changes (
git commit -am 'Add some fooBar'
). - Push your branch (
git push origin feature/fooBar
). - Create a new Pull Request.