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

Overview

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

You might also like...
Mobile Text-to-Image search powered by multimodal semantic representation models(e.g., OpenAI's CLIP)
Mobile Text-to-Image search powered by multimodal semantic representation models(e.g., OpenAI's CLIP)

A Mobile Text-to-Image Search Powered by AI A minimal demo demonstrating semantic multimodal text-to-image search using pretrained vision-language mod

Mobile(iOS) Text-to-Image search powered by multimodal semantic representation models(e.g., OpenAI's CLIP)
Mobile(iOS) Text-to-Image search powered by multimodal semantic representation models(e.g., OpenAI's CLIP)

Mobile Text-to-Image Search(MoTIS) MoTIS is a minimal demo demonstrating semantic multimodal text-to-image search using pretrained vision-language mod

A Swift package to convert a colour to a name using Wikipedia's colour list

ColorName Usage import ColorName SwiftUI let myColorName = getName(for: Color.red) print(myColorName) UIKit let myColorName = getName(for: UIColor.red

Inspired by HBO's Silicon Valley: SeeFood is an iOS app that uses CoreML to detect various dishes
Inspired by HBO's Silicon Valley: SeeFood is an iOS app that uses CoreML to detect various dishes

SeeFood For a step by step guide on how to build SeeFood: How to train your own model for CoreML. . Video Demo Follw me on Twitter Prerequisites: Xcod

SwiftUI iOS app which applies CoreML Video Matting (background removal) model to the front camera stream
SwiftUI iOS app which applies CoreML Video Matting (background removal) model to the front camera stream

CoreML Camera Video Matting This is a simple iOS app which applies Video Matting (background removal) model to the front camera stream. Video Matting

Shows your photo library grouped by events, to easily export them to your computer
Shows your photo library grouped by events, to easily export them to your computer

Groupir Shows your photo library grouped by events, to easily export them to your computer Features Currently supported features: reading your photo l

Swiftly convert country codes and cultural terms to all 269 emoji flags without hassle
Swiftly convert country codes and cultural terms to all 269 emoji flags without hassle

Swiftly convert country codes and cultural terms to all 269 emoji flags without hassle

Convert the image to hexadecimal to send the image to e-paper

ConvertImageToHex Convert the image to hexadecimal to send the image to e-paper Conversion Order // 0. hex로 변환할 이미지 var image = UIImage(named: "sample

A tool support convert image gif to gif3d
A tool support convert image gif to gif3d

Trick convert gif to gif3d using Swift Features Simple way to convert gif to gif3d Change background Change size eraser tool How to work Add a layer w

Comments
  • Doesn't work with non-square images

    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

    opened by krishnilbhojani 0
  • CoreML conversion workflow

    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.

    opened by Boca007 0
  • Force close when process

    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 }

    opened by tamnv110 0
Owner
iLeaf Solutions Pvt. Ltd.
iLeaf Solutions Pvt. Ltd.
A machine learning based emoji image classifier

BQBClassifier ??️ Download From App Store Given that my photo albums are mixed with various emojis that often spoil my good mood, I wrote such an app

Lakr Aream 38 Aug 30, 2022
A view that takes a set of images, make transition from one to another by using flipping effects.

CDFlipView A view that takes a set of images, make transition from one to another by using flipping effects. Demo Live Demo: https://appetize.io/app/w

Jianbin LIN 99 Aug 27, 2021
Convert HEIC images to JPEG format on the Mac

heic2jpeg Convert HEIC images to JPEG format on the Mac A basic tool to convert Apple's obnoxious HEIC format images (as the default photo format for

Fazal Majid 2 Mar 1, 2022
Jogendra 113 Nov 28, 2022
App that generates random images and attempts to classify them with MobileNetV2

Image-Classifier-App App that generates random images and attempts to classify t

Eli Hartnett 0 Jul 9, 2022
WhiteAndFluffyTest - Scroll images and add them to your favourites via image page

Image service application Scroll images and add them to your favourites via imag

Ruben Egikian 0 Feb 4, 2022
SwiftGen is a tool to automatically generate Swift code for resources of your projects (like images, localised strings, etc), to make them type-safe to use.

SwiftGen is a tool to automatically generate Swift code for resources of your projects (like images, localised strings, etc), to make them type-safe to use.

null 8.3k Jan 5, 2023
A UIActivityViewController to share images while displaying them as a nice preview.

PSActivityImageViewController Overview This view controller allows you to share an image the same way as a normal UIActivityViewController would, with

Peter Salz 11 Oct 19, 2022
Not Suitable for Work (NSFW) classification using deep neural network Caffe models.

Open nsfw model This repo contains code for running Not Suitable for Work (NSFW) classification deep neural network Caffe models. Please refer our blo

Yahoo 5.6k Jan 5, 2023
Generates an image that looks like LEGO Art.

LegoArtFilter Generates an image that looks like LEGO Art. This library supports both iOS (14≤) and macOS (11≤). Usage // Get CGImage from CIImage let

Takuto NAKAMURA (Kyome) 10 Jul 7, 2022