GithubHelp home page GithubHelp logo

pondjames007 / style-transfer-extension Goto Github PK

View Code? Open in Web Editor NEW
0.0 1.0 0.0 20.91 MB

A Chrome Extension applying Style Transfer on IG photos

JavaScript 76.74% HTML 23.26%
style-transfer machine-learning chrome-extension javascript ml5

style-transfer-extension's Introduction

Style Transfer Chrome Extension

A Chrome Extension to apply Style Transfer on Instagram Photos

Style Transfer Training

Applying Style Transfer

Use ml5js to apply Style Transfer in Javascript for web-related applications

Chrome Extension

To get the image data from Instagram, there is a cross-origin data issue due to network security, so I have to find other approaches to get the image data.

Version 1: Download Image

I tried to download the image I chose so that the image I am going to deal with will become a local data. At first I thought the extension will pack all images onto chrome so the web accessible resources (images) will be also unchangeable. Luckily it seems that it will still change if I download the image to my extension folder.

Version 2: Backstage Processing

I tried to get the screenshot of the page and cut the part I want (which is the image I clicked). So this time I send the image to background to do style transfer. At first I thought doing style transfer in background won’t slow down the user doing things at front. However, it seems that it will slow down the whole browser. Fortunately, the image is not that large, so it only takes few seconds.

style-transfer-extension's People

Contributors

pondjames007 avatar

Watchers

 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.