GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — GitHub - Lauszus/FaceRecognitionApp: Face Recognition Android App

BranchesTags
Open more actions menu

Latest commit

 

History

116 Commits
116 Commits

Folders and files

NameName
Last commit message
Last commit date
app
app
 
 
gradle/wrapper
gradle/wrapper
 
 
.gitignore
.gitignore
 
 
.gitmodules
.gitmodules
 
 
.travis.yml
.travis.yml
 
 
LICENSE
LICENSE
 
 
README.md
README.md
 
 
build.gradle
build.gradle
 
 
face_detected_jon.png
face_detected_jon.png
 
 
face_detected_kristian.png
face_detected_kristian.png
 
 
gradle.properties
gradle.properties
 
 
gradlew
gradlew
 
 
gradlew.bat
gradlew.bat
 
 
navigation_menu.png
navigation_menu.png
 
 
opencv.patch
opencv.patch
 
 
settings.gradle
settings.gradle
 
 

Repository files navigation

Face Recognition Android App

Google Play

Developed by Kristian Lauszus, 2016

The code is released under the GNU General Public License.


Build Status

This project demonstrates how to calculate Eigenfaces and Fisherfaces used for face recognition on an Android device.

The library uses my other project FaceRecognitionLib in order to calculate the Eigenfaces and Fisherfaces.

A short blog post can be found at the following link: http://blog.tkjelectronics.dk/2017/07/face-recognition-using-eigenfaces-and-fisherfaces.

The reports I wrote together with Jonathan Wang can be found at the following links: Eigenfaces_Report.pdf and Final_Project_Report.pdf.

Screenshots

Build instructions

In order to built this project you need to download and install Android Studio. You will then need to install the Android NDK.

Then simply download the latest release: https://github.com/Lauszus/FaceRecognitionApp/releases/download/1.2.3/FaceRecognitionApp-1.2.3.zip and open the project in Android Studio.

Advanced build instructions

The following instructions are meant for advanced users who wants to clone and modify the source files.

First clone the repository including the submodule:

git clone --recursive https://github.com/Lauszus/FaceRecognitionApp.git

If you have already cloned the project, then please run the following command in order to initialize the submodule:

git submodule update --init --recursive

The project is relying on the environmental variables OPENCV_ANDROID_SDK and EIGEN3_DIR for settings.gradle and Android.mk to be set to the path of the OpenCV Android SDK and Eigen3 libraries.

Please use OpenCV 3.4.1 and Eigen3 3.3.5. Both can be installed from the command line like so:

wget https://github.com/opencv/opencv/releases/download/3.4.1/opencv-3.4.1-android-sdk.zip
unzip opencv-3.4.1-android-sdk.zip
wget https://gitlab.com/libeigen/eigen/-/archive/3.3.5/eigen-3.3.5.zip -O Eigen3.zip
unzip Eigen3.zip

Then apply the patch to OpenCV:

patch -p0 < opencv.patch

Now simple set the environmental variables:

Linux:

nano ~/.bash_profile
export OPENCV_ANDROID_SDK=/path/to/OpenCV-android-sdk
export EIGEN3_DIR=/path/to/eigen3
echo $OPENCV_ANDROID_SDK $EIGEN3_DIR

Mac:

nano /etc/launchd.conf
setenv OPENCV_ANDROID_SDK /path/to/OpenCV-android-sdk
setenv EIGEN3_DIR /path/to/eigen3
echo $OPENCV_ANDROID_SDK $EIGEN3_DIR

Windows:

setx OPENCV_ANDROID_SDK /path/to/OpenCV-android-sdk
setx EIGEN3_DIR /path/to/eigen3
echo %OPENCV_ANDROID_SDK% %EIGEN3_DIR%

Please note that /path/to/ should be replaced with the actual path to the Eigen and OpenCV Android SDK directories.

If you have troubles setting the environmental variables, then you can just hardcode the paths in settings.gradle and Android.mk.

About

Face Recognition Android App

Topics

androideigenfacesface-recognitionfisherfaces

Resources

Readme
GPL-2.0 license
Activity

Stars

516 stars

Watchers

33 watching

Forks

238 forks
Report repository

Releases

Packages

Contributors

Languages

You are visitor 01402792 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.