Cognitive Services Face client library for Android.
This repo contains the Android client library & sample for the Microsoft Face API, an offering within Microsoft Cognitive Services, formerly known as Project Oxford.
The Face API client library is a thin Java client wrapper for Microsoft Face API.
The client library is indexed on Maven Central Repository with all versions here.
There are two recommended approaches to introduce the client library in other application projects.
To add the client library dependency via build.gradle
file, add the following entry in the dependencies
section.
dependencies {
//
// Use the following line to include client library from Maven Central Repository
// Change the version number with the latest version according to the search.maven.org result
//
implementation 'com.microsoft.projectoxford:face:1.4.3'
// Your other Dependencies...
}
To add the client library dependency via Android Studio:
This sample is an Android application to demonstrate the use of Microsoft Face API. It demonstrates face detection, face verification, face grouping, finding similar faces, and face identification functionalities.
Android OS must be Android 5.1 or higher (API Level 22 or higher).
In Android Studio, select menu "Run", and "Run app" to launch this sample app.
Once the app is launched, click on buttons to use samples of between different scenarios, and follow the instructions on screen.
Microsoft will receive the images you upload and may use them to improve Face API and related services. By submitting an image, you confirm you have consent from everyone in it.
We welcome contributions. Feel free to file issues and pull requests on the repo and we'll address them as we can. Learn more about how you can help on our Contribution Rules & Guidelines.
You can reach out to us anytime with questions and suggestions using our communities below:
This project has adopted the Microsoft Open Source Code of Conduct. For more information see the Code of Conduct FAQ or contact [email protected] with any additional questions or comments.
All Microsoft Cognitive Services SDKs and samples are licensed with the MIT License. For more details, see LICENSE.
Sample images are licensed separately, please refer to LICENSE-IMAGE.
Developers using Cognitive Services, including this client library & sample, are expected to follow the “Developer Code of Conduct for Microsoft Cognitive Services”, found at http://go.microsoft.com/fwlink/?LinkId=698895.