All Projects → Cleveroad → ARFaceDetection

Cleveroad / ARFaceDetection

Licence: other
AR-based library for Android which is capable of detecting faces and overlaying images above the user’s head

Programming Languages

kotlin
9241 projects
java
68154 projects - #9 most used programming language

Projects that are alternatives of or similar to ARFaceDetection

ArCoreMeasurement
Its measurement app made using kotlin with sceneform sdk by google
Stars: ✭ 38 (-17.39%)
Mutual labels:  arcore, arcore-android
react-native-arcore
React native bindings for Android ArCore as UI Component with support for model rendering and manipulation
Stars: ✭ 35 (-23.91%)
Mutual labels:  arcore, arcore-android
sceneform-android
Sceneform Maintained is an ARCore Android SDK with Google Filament as 3D engine. This is the continuation of the archived Sceneform
Stars: ✭ 303 (+558.7%)
Mutual labels:  arcore, arcore-android
Arcore
ARCore Course
Stars: ✭ 148 (+221.74%)
Mutual labels:  arcore
Ofxarcore
Experimental addon for openFrameworks to use ARCore on Android devices
Stars: ✭ 173 (+276.09%)
Mutual labels:  arcore
Firebase-HMS-ML-Kit-Scanner-Demo
Various scanner use cases using Firebase or HMS ML-Kit
Stars: ✭ 22 (-52.17%)
Mutual labels:  mlkit
ARMultiuser
this demo use arkit 2.0, realize multiplayer play together! The project refers to the official demo!
Stars: ✭ 30 (-34.78%)
Mutual labels:  arcore
Invisible Highway
Invisible Highway is an experiment in controlling physical things in the real world by drawing in AR. Simply make a pathway along the floor on your phone and the robot car will follow that path on the actual floor in your room. A custom highway with scenery is generated along the path to make the robots a little more scenic on your phone screen.
Stars: ✭ 118 (+156.52%)
Mutual labels:  arcore
EPassportNFCReader
ID Card and E-Passport Reader NFC Android Application - Sample Project with MLKit
Stars: ✭ 62 (+34.78%)
Mutual labels:  mlkit
MlKitBarcodeScan
Sample project to explain the barcode scanning API from Firebase MLKit
Stars: ✭ 31 (-32.61%)
Mutual labels:  mlkit
MLKit-Android-Apps
All android applications (apps) using MLKit
Stars: ✭ 24 (-47.83%)
Mutual labels:  mlkit
Ar Toolbox
🧰 ARCore & Sceneform Playground
Stars: ✭ 179 (+289.13%)
Mutual labels:  arcore
TextDetect
This app detects the text from the picture input using camera or photos gallery. The app uses MLVisionTextModel for on device detection. The Vision framework from MLKit of Google is used here.
Stars: ✭ 14 (-69.57%)
Mutual labels:  mlkit
Arcoreinsideouttrackinggearvr
Inside Out Positional Tracking (6DoF) for GearVR/Cardboard/Daydream using ARCore v1.6.0
Stars: ✭ 150 (+226.09%)
Mutual labels:  arcore
MacGyver
🤖 A simple application using Google's MLkit library and cameraX api.
Stars: ✭ 73 (+58.7%)
Mutual labels:  mlkit
Norman Ar
Decorate your world with AR animations.
Stars: ✭ 122 (+165.22%)
Mutual labels:  arcore
MLKit
🌝 MLKit是一个强大易用的工具包。通过ML Kit您可以很轻松的实现文字识别、条码识别、图像标记、人脸检测、对象检测等功能。
Stars: ✭ 294 (+539.13%)
Mutual labels:  mlkit
Webxr Polyfill
A polyfill and example code for building augmented reality (AR) and virtual reality (VR) applications using WebXR.
Stars: ✭ 227 (+393.48%)
Mutual labels:  arcore
Justaline Android
The first cross-platform collaborative AR app (for doodling)
Stars: ✭ 219 (+376.09%)
Mutual labels:  arcore
SwiftUIMLKitTranslator
SwiftUI MLKit Language Identification & Translator
Stars: ✭ 23 (-50%)
Mutual labels:  mlkit

ARFaceDetection Awesome

Header image

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).

Demo image

You can try the functionality of the library right on your devices! Go to this link to download our application from Google Play Store.

Awesome

Awesome

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 the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].