Installation Guide
This page contains the installation guide needed for Face Detector in Android and iOS
Android Installation Guide
In Android, the first step of the installation for Face Detector (Android) is to include the following dependencies in the project-level build.gradle file. The build.gradle file will need to make some changes as follow below:
allprojects {
repositories {
mavenCentral()
}
}Include the following dependencies in app-level build.gradle file:
android {
...
aaptOptions {
noCompress "tflite"
}
}
dependencies{
implementation 'com.innov8tif.facedetector:FaceDetector:0.0.3'
}After adding the code, sync the project with gradle files to make sure all of the dependencies are successfully installed.
React-Native Installation Guide
In React-native, the first step of the installation is to install the react-native-innov8tif-face-detector into the environment using the command below:
Android
Add the code below in app build.gradle file
iOS
Navigate to ios folder
Add the following code to Podfile
3. Run command Pod install
License
Apply licenses for Android and iOS SDKs
Last updated
Was this helpful?