Skip to content

llogaricasas/CoreML-StyleTransfer

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Playground for Style Transfer with CoreML

Style Transfer Header

Overview

This Swift Playground provides an interactive experience for applying artistic style transfer to images using Apple's CoreML framework. Inspired by apps like Prisma and Lucid, this playground allows users to experiment with neural style transfer in just a few hundred lines of code.

Features

  • Real-time Style Transfer: Apply predefined artistic styles to images.
  • Powered by CoreML: Utilizes machine learning models optimized for iOS.
  • Minimal Code Complexity: Achieves high-quality style transfer with efficient and concise Swift code.
  • Interactive Playground: Designed for experimentation within Xcode's playground environment.

Getting Started

Requirements

  • Xcode (Latest version recommended)
  • macOS with support for CoreML
  • Compatible with iOS 11+ devices

Installation

Download

Download the Playground

  1. Clone this repository:
    git clone https://github.com/llogaricasas/CoreML-StyleTransfer.git
  2. Open the .playground file in Xcode.
  3. Run the playground and interact with the style transfer feature.

Demo

YouTube Video

How It Works

This playground leverages a CoreML model trained for neural style transfer. The model takes an input image and applies a pre-defined artistic style using a convolutional neural network (CNN). The process is optimized for real-time execution on Apple devices, providing an engaging and seamless user experience.

Credits

Developed by Llogari Casas.

License

This project is open-source under the MIT License. Feel free to use, modify, and contribute!

About

A Swift Playground for real-time artistic style transfer using CoreML. Experiment with AI-powered image transformations in few coding lines!

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages