# AnimeGAN_android **Repository Path**: lzhswspace/AnimeGAN_android ## Basic Information - **Project Name**: AnimeGAN_android - **Description**: No description available - **Primary Language**: Unknown - **License**: Not specified - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 0 - **Created**: 2021-05-02 - **Last Updated**: 2021-05-02 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README # Style Transfer Android AnimeGAN App. ![image](https://raw.githubusercontent.com/bluishfish/AnimeGAN_android/master/screen_shot/20200417163410.jpg) ![image](https://raw.githubusercontent.com/bluishfish/AnimeGAN_android/master/screen_shot/20200417163436.jpg) ![image](https://raw.githubusercontent.com/bluishfish/AnimeGAN_android/master/screen_shot/20200422150041.jpg) ## 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 TensorFlow examples GitHub repository to your computer to get the demo application. ``` git clone https://github.com/bluishfish/AnimeGAN_android.git ``` ### Step 2. Import the sample app to Android Studio Open the TensorFlow source code in Android Studio. To do this, open Android Studio and select `Import Projects (Gradle, Eclipse ADT, etc.)`, setting the folder to `AnimeGAN_android` ### 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 `TFL Style Transfer` on your device. Re-installing the app may require you to uninstall the previous installations. ## Resources used: * [TensorFlow Lite](https://www.tensorflow.org/lite) * [Style Transfer model for mobile](https://www.tensorflow.org/lite/models/style_transfer/overview) * [Train the style transfer model and export to TensorFlow Lite](https://github.com/tensorflow/magenta/tree/master/magenta/models/arbitrary_image_stylization#train-a-model-on-a-large-dataset-with-data-augmentation-to-run-on-mobile) * [Neural Style Transfer with TensorFlow](https://www.tensorflow.org/tutorials/generative/style_transfer) * [CameraX](https://developer.android.com/training/camerax)