RedApparat / Facedetector
Licence: apache-2.0
Face detection for your Android app
Stars: ✭ 1,059
Programming Languages
java
68154 projects - #9 most used programming language
Projects that are alternatives of or similar to Facedetector
React Native Camera
A Camera component for React Native. Also supports barcode scanning!
Stars: ✭ 9,530 (+799.91%)
Mutual labels: camera, face-detection
Jeelizfacefilter
Javascript/WebGL lightweight face tracking library designed for augmented reality webcam filters. Features : multiple faces detection, rotation, mouth opening. Various integration examples are provided (Three.js, Babylon.js, FaceSwap, Canvas2D, CSS3D...).
Stars: ✭ 2,042 (+92.82%)
Mutual labels: camera, face-detection
Cat-Face-Detector-with-OpenCV-and-JavaFX
📹 A Small OpenCV (Open Source Computer Vision) Example, who has the ability to detect multiple cat faces at the same time 🐱
Stars: ✭ 24 (-97.73%)
Mutual labels: camera, face-detection
Jcamera
This is Android CameraActivity,Imitation WeChat Camera Android 仿微信视频拍摄 支持触摸拍摄 长按拍摄
Stars: ✭ 42 (-96.03%)
Mutual labels: camera
Facevision
iOS11 Vision framework example. Detection of face landmarks
Stars: ✭ 47 (-95.56%)
Mutual labels: face-detection
Photoassessment
Photo Assessment using Core ML and Metal.
Stars: ✭ 40 (-96.22%)
Mutual labels: face-detection
Defold Orthographic
Orthographic camera functionality for the Defold game engine
Stars: ✭ 50 (-95.28%)
Mutual labels: camera
Android Hpe
Android native application to perform head pose estimation using images coming from the front camera.
Stars: ✭ 46 (-95.66%)
Mutual labels: face-detection
Facekit
Implementations of PCN (an accurate real-time rotation-invariant face detector) and other face-related algorithms
Stars: ✭ 1,028 (-2.93%)
Mutual labels: face-detection
Gncam
📷 A Swift 3 library for interacting with the camera on iOS using AVFoundation
Stars: ✭ 42 (-96.03%)
Mutual labels: camera
Predict Facial Attractiveness
Using OpenCV and Dlib to predict facial attractiveness.
Stars: ✭ 41 (-96.13%)
Mutual labels: face-detection
Gopro Py Api
Unofficial GoPro API Library for Python - connect to GoPro via WiFi.
Stars: ✭ 1,058 (-0.09%)
Mutual labels: camera
Realtimefaceapi
This is a demo project showing how to use Face API in Cognitive Services with OpenCV
Stars: ✭ 44 (-95.85%)
Mutual labels: face-detection
Tensorflow Lite Rest Server
Expose tensorflow-lite models via a rest API
Stars: ✭ 43 (-95.94%)
Mutual labels: face-detection
Live Stream Face Detection
Live Streaming and Face Detection with Flask in Browser
Stars: ✭ 47 (-95.56%)
Mutual labels: face-detection
FaceDetector
Want to detect human faces on a camera preview stream in real time? Well, you came to the right place.
FaceDetector is a library which:
- detects faces
- works on Android
- very simple to use
- works greatly with Fotoapparat
- you can use it with whichever camera library or source you like
- uses C++ core which can easily be ported to iOS (we have plans for that)
Detecting faces with Fotoapparat
is as simple as:
Fotoapparat
.with(context)
.into(cameraView)
.frameProcessor(
FaceDetectorProcessor
.with(context)
.build()
)
.build()
How it works
Step One (optional)
To display detected faces on top of the camera view, set up your layout as following.
<io.fotoapparat.facedetector.view.CameraOverlayLayout
android:layout_width="match_parent"
android:layout_height="match_parent">
<!-- Adjust parameters as you like. But cameraView has to be inside CameraOverlayLayout -->
<io.fotoapparat.view.CameraView
android:id="@+id/cameraView"
android:layout_width="match_parent"
android:layout_height="match_parent" />
<!-- This view will display detected faces -->
<io.fotoapparat.facedetector.view.RectanglesView
android:id="@+id/rectanglesView"
android:layout_width="match_parent"
android:layout_height="match_parent"
app:rectanglesColor="@color/colorAccent"
app:rectanglesStrokeWidth="2dp"/>
</io.fotoapparat.facedetector.view.CameraOverlayLayout>
Step Two
Create FaceDetectorProcessor
:
Java:
FaceDetectorProcessor processor = FaceDetectorProcessor.with(this)
.listener(faces -> {
rectanglesView.setRectangles(faces); // (Optional) Show detected faces on the view.
// ... or do whatever you want with the result
})
.build()
or Kotlin:
private val processor = FaceDetectorProcessor.with(this)
.listener({ faces ->
rectanglesView.setRectangles(faces) // (Optional) Show detected faces on the view.
// ... or do whatever you want with the result
})
.build()
Step Three
Attach the processor to Fotoapparat
Fotoapparat.with(this)
.into(cameraView)
// the rest of configuration
.frameProcessor(processor)
.build()
And you are good to go!
Set up
Add dependency to your build.gradle
repositories {
maven {
url "http://dl.bintray.com/fotoapparat/fotoapparat"
}
}
implementation 'io.fotoapparat:facedetector:1.0.0'
// If you are using Fotoapparat add this one as well
implementation 'io.fotoapparat.fotoapparat:library:1.2.0' // or later version
Contact us
Impressed? We are actually open for your projects.
If you want some particular computer vision algorithm (document recognition, photo processing or more), drop us a line at [email protected].
License
Copyright 2017 Fotoapparat
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
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].