Description
We’re glad to share with you our latest AR-based library for Android. It’s designed with ARCore technology and is capable of detecting faces and overlaying images above the user’s head considering multiple parameters to make them look realistic (e.g. head movements).
You can try the functionality of the library right on your devices! Go to this link to download our application from Google Play Store.
ARFaceDetection alternatives and similar libraries
Based on the "Tools" category.
Alternatively, view ARFaceDetection alternatives based on common mentions on social networks and blogs.
-
kotlin-android-template
Android + Kotlin + Github Actions + ktlint + Detekt + Gradle Kotlin DSL + buildSrc = ❤️ -
jtransc
DISCONTINUED. Bytecode to source converting Java & Kotlin code into JavaScript, C++, D, C#, PHP, AS3, Dart and Haxe and run it everywhere. Also use JVM code in your favourite language as a library. -
Ostara
Ostara is a cross-platform desktop app for managing and monitoring Spring Boot applications using the Actuator API, providing comprehensive insights and effortless control. -
MpApt
DISCONTINUED. (Deprecated) :wrench: Kotlin Native/JS/JVM Annotation Processor library for Kotlin compiler plugins -
ktfmt-gradle
A Gradle plugin to apply ktfmt to your builds, and reformat you Kotlin source code like a glimpse 🧹🐘 -
ComposeRecyclerView
Seamlessly integrate Jetpack Compose composables in RecyclerView with ComposeRecyclerView🔥. This library enhances performance⚡, tackles LazyList issues🔨, and offers built-in drag-and-drop👨🏽💻 support for dynamic UIs. -
LiveStream-Kt (Android) 📱
DISCONTINUED. LiveStream is a simple class which makes communication easy among different modules of your application. -
Kotlin Bootstrap
This set of libraries is designed to help developers accomplish various tasks easier and faster -
GradleMavenPush
Helper to upload Gradle Android Artifacts, Gradle Java Artifacts and Gradle Kotlin Artifacts to Maven repositories (JCenter, Maven Central, Corporate staging/snapshot servers and local Maven repositories). -
EasyDokkaPlugin
Gradle Script plugin to generate documentation by Dokka documentation engine in Javadoc or other formats for Java, Kotlin, Android and non-Android projects. It's very easy, you don't need to add to dependencies section additional classpath or think about compatibility issues, you don't need additional repositories also. -
buildSrcVersions
Better Gradle dependencies management inside the IDE. Search for available updates.
WorkOS - The modern identity platform for B2B SaaS
Do you think we are missing an alternative of ARFaceDetection or a related project?
README
ARFaceDetection
Meet ARFaceDetection by Cleveroad
We’re glad to share with you our latest AR-based library for Android. It’s designed with ARCore technology and is capable of detecting faces and overlaying images above the user’s head considering multiple parameters to make them look realistic (e.g. head movements).
You can try the functionality of the library right on your devices! Go to this link to download our application from Google Play Store.
Setup
To use ARFaceDetection first add dependency to your project:
dependencies {
implementation 'com.google.firebase:firebase-core:16.0.9'
implementation 'com.cleveroad.ARFaceDetection:ar-face-detection:1.0.2'
}
AndroidManifest
<manifest ...>
...
<uses-permission android:name="android.permission.CAMERA"/>
<uses-feature android:name="android.hardware.camera.ar" android:required="true"/>
<uses-feature android:name="android.hardware.camera"/>
<uses-feature android:name="android.hardware.camera.autofocus"/>
<application ...>
....
<meta-data
android:name="com.google.ar.core"
android:value="required"/>
<meta-data
android:name="com.google.firebase.ml.vision.DEPENDENCIES"
android:value="face"/>
...
</application>
</manifest>
Firebase
- Create a Firebase project to connect to your Android app and setup it. Link to firebase console https://console.firebase.google.com/
Move your config file(google-services.json) into the module (app-level) directory of your app. Application class
class MyApp : Application() { ... override fun onCreate() { super.onCreate() ... FirebaseApp.initializeApp(this) ... } }
Usage
Face detection val MLKit
val fragment = FaceDetectorFragment.newInstance(R.drawable.icon) supportFragmentManager.beginTransaction().apply { replace(R.id.container, fragment, fragment.javaClass.simpleName) }.commit()
Face detection val ARCore
val fragment = AugmentedFacesFragment.newInstance(R.drawable.icon) supportFragmentManager.beginTransaction().apply { replace(R.id.container, fragment, fragment.javaClass.simpleName) }.commit()
Restrictions
ARCore minSdkVersion ≥ 24 supported devices: https://developers.google.com/ar/discover/supported-devices MLKIt minSdkVersion ≥ 21
Changelog
See changelog history.
Support
If you have any other questions regarding the use of this library, please contact us for support at [email protected] (email subject: "ARFaceDetection. Support request.")
License
The MIT License (MIT)
Copyright (c) 2019 Cleveroad Inc.
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
*Note that all licence references and agreements mentioned in the ARFaceDetection README section above
are relevant to that project's source code only.