This sample uses the OpenCV framework to detect faces in a live video stream using your camera's phone. Probably best not to use this when you are in the middle of the woods by yourself at night and hear noises around you.
To use this application, follow these steps:
- Ensure CocoaPods is installed. Visit CocoaPods for installation instructions.
- Clone this repository with
git clone https://github.com/Vilyan01/BHFaceView.git
- In your Terminal application, run
cd BHFaceView && pod install
. This will install the OpenCV framework. - Type
open BHFaceView.xcworkspace
to open the project. - Select your device and click run.
Note: This application will not function on simulator devices as it will need to access a device's camera to retrieve the stream.