Giter VIP home page Giter VIP logo

styleart's Introduction

StyleArt

Style Art is a library that process images using COREML with a set of pre trained machine learning models and convert them to Art style.

Preview

Installation

Compatibility

  • iOS 11.0+

  • Xcode 9.0+, Swift 4+

Manual installation

Download and drop the 'StyleArt' folder into your Xcode project.

Usage

 StyleArt.shared.process(image: imageView.image, style: .Candy) { (result) in
            
  }

Sytles Available

enum ArtStyle{
    
    case Mosaic
    case scream
    case Muse
    case Udanie
    case Candy
    case Feathers
}

More usage info can found on the example project.

Credits

jcjohnson https://github.com/jcjohnson/neural-style

Author

iLeaf Solutions http://www.ileafsolutions.com

styleart's People

Contributors

bluemix avatar levindev avatar levinileaf avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar

styleart's Issues

Force close when process

I using your library, when process app crash:

  • Message from debugger: Terminated due to memory issue

My code:
StyleArt.shared.process(image: image, style: .Candy) { (result) in
self.imgv.image = result
}

Objective-c

it's Cool! How can I use the project on objective with? My photo editor app on objective-c language.
Thank you

Doesn't work with non-square images

When I try to convert some image with different image size (let's say h=720, w=540), it automatically converts the entire image's dimension to a square.

Original Image

IMG_3199

Edited Image

image

CoreML conversion workflow

Hi,
first of all great work! :) congrats. :)

can U tell me some info about the model conversion and optimization workflow from pb to CoreML please?
Ur CoreML model have only ~57 operators, and my training pb has about 847. and when i try to quantized still has about 274, and i can not convert the quantized to CoreML at all. :(

thx very much.

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.