VaibhavKansagara / Faceapp

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Style Transfer Android sample.

Artistic style transfer is an optimization technique used to take two images: a content image and a style reference image (such as an artwork by a famous painter) and blend them together so the output image looks like the content image, but “painted” in the style of the style reference image.

Requirements

  • Android Studio 3.2 (installed on a Linux, Mac or Windows machine)
  • An Android device, or an Android Emulator

Build and run

Step 1. Clone the TensorFlow examples source code

Clone the Faceapp GitHub repository to your computer to get the demo application.

git clone https://github.com/VaibhavKansagara/Faceapp.git

Step 2. Import the sample app to Android Studio

Open the source code in Android Studio. To do this, open Android Studio and select Import Projects (Gradle, Eclipse ADT, etc.), setting the folder to Faceapp.

Step 3. Run the Android app

Connect the Android device to the computer and be sure to approve any ADB permission prompts that appear on your phone. Select Run -> Run app. Select the deployment target in the connected devices to the device on which the app will be installed. This will install the app on the device.

To test the app, open the app called FaceApp on your device. Re-installing the app may require you to uninstall the previous installations.

Resources used:

About


Languages

Language:Java 97.5%Language:Kotlin 1.7%Language:HTML 0.3%Language:JavaScript 0.3%Language:CSS 0.2%Language:Dockerfile 0.0%Language:Assembly 0.0%