Coder Social home page Coder Social logo

cdoru / aicamera-style-transfer Goto Github PK

View Code? Open in Web Editor NEW

This project forked from facebookarchive/aicamera-style-transfer

0.0 2.0 0.0 93.82 MB

Neural Style Transfer with Caffe2 on your Android phone

Home Page: https://caffe2.ai

CMake 0.20% C++ 55.90% C 1.87% Python 14.55% Makefile 0.01% Cuda 3.37% Metal 0.20% Objective-C++ 1.22% Objective-C 0.03% CSS 0.01% HTML 0.03% Jupyter Notebook 22.53% Shell 0.01% Java 0.08%

aicamera-style-transfer's Introduction

AICamera-Style-Transfer



Neural style transfer on your Android phone.

AICamera is an Android application showcasing implementations of Caffe2 models for mobile. This particular fork implements Neural Style Transfer, a unique way of applying artistic styles to photos using deep neural networks.

Requirements

The app depends mainly on the Caffe2 library to run the models, and libyuv which is used for image processing. All dependencies are contained in this repository, so no further setup is required.

If you do want to build the dependencies yourself (for example to pull in more recent versions of one of the libraries), here are a few steps:

  1. For Caffe2, clone the main repository and execute the build_android.sh script found in the scripts/ folder. This will produce artifacts like libcaffe2.a under the build_android folder. Copy these under app/src/main/jniLibs/armeabi-v7a.
  2. For libyuv, follow the steps here. If the build fails on macOS, consider building on Linux inside a Docker container.

All of these steps assume you have a proper Android SDK and NDK environment in place.

Building

Building the app is as easy as downloading Android Studio and pressing the green button.

Tested successfully on Samsung Galaxy S7 and S8.

aicamera-style-transfer's People

Contributors

bddppq avatar bwasti avatar goldsborough avatar jerryzh168 avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.