Skip to content

Android virtual makeup app, apply cosmetics on human face.

License

Notifications You must be signed in to change notification settings

zaykl/PerfectShow

 
 

Repository files navigation

PerfectShow

Welcome to PerfectShow, an image processing application for Android platform.

Up until now, I release functionalities about make-up.

Currently I use Eclipse project instead of Android Studio project, since the former IDE has a shallow directory hierarchy, and NDK building is easier to use. This project mainly use stasm for face detecting, dlib can be more superior and robust, and it use OpenCV for color blending and image processing, so you might as well have a good grasp of this field.

Usage

  1. Download Android OpenCV SDK from official site of OpenCV, extract the archived package to somewhere <OpenCV-android-sdk>, then import the project under <OpenCV-android-sdk>/sdk/java/ into Eclipse (Suppose you've got an Android development environment) and build it. For detailed steps, this thread walks you through how to do Android development with OpenCV.
  2. Change the variable OPENCV_ANDROID_SDK_HOME in jni/Android.mk to the path above, in our project, add a reference to the OpenCV Java SDK in Project -> Properties -> Android -> Library -> Add select OpenCV Library, then strike command to finish native code building, and last, build this Android project.
$ cd jni
$ ndk-build -j4
$ cd ..
$ ant debug

For Win32/Linux project, cmake (CLI mode or GUI mode) is needed to generate native makefiles. Out-of-source build is recommended, as you can build multiple variants in separate directories. Compilers need to support some C++11 features, Visual Studio 2013 or newer works fine.

$ cd jni
$ mkdir build
$ cd build
$ cmake ..
$ make -j4

Screenshot

seamless cloning

makeup UI

Contact

If you like this project, share your appreciation by following me in GitHub. If you have any problems about this project, you can file an issue here.

License

Copyright© 2016-2017  Martin Taylor

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.

About

Android virtual makeup app, apply cosmetics on human face.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Java 50.6%
  • C++ 46.5%
  • C 1.6%
  • CMake 0.6%
  • Makefile 0.4%
  • Objective-C 0.2%
  • Python 0.1%