Coder Social home page Coder Social logo

pearmini / painters-and-hackers Goto Github PK

View Code? Open in Web Editor NEW
13.0 1.0 0.0 15.1 MB

世界那么大,让艺术品和算法带你去看看!🏖

JavaScript 100.00%
art image-processing data-structures data-visualization algorithms-implemented style-transfer body-segmentation algorithms-and-data-structures

painters-and-hackers's Introduction

画家与骇客

艺术品高高在上,数据结构和算法神秘莫测,世界那么大,这一次,让画家和骇客带你去看看!

expample

概述

《画家与骇客》给用户提供了一项有意思的服务:

  • 第一步,用户选择一张风景图片和一张自拍,《画家与骇客》会用深度学习的方式将自拍中的人像扣出来贴在选择的风景图片上。
  • 第二步,用户可以选择两种滤镜对图片进行处理:
    • 画家:把一些艺术品的风格通过风格迁移的方法迁移到合成的图片。
    • 骇客:在可视化一些数据结构和算法的过程中对合成的图片进行处理。
  • 第三步,提供相应的文章讲解选择的艺术品或算法。

下面的一张图片简单的解释了该过程。

process

《画家与骇客》给用户提供了两个平台享受这个有意思的服务:小程序在线网页(在线网页目前还在开发中)。

qrcode

实现方法

  • 人像分割:使用了 Tensorflow.js/body-pix
  • 风格迁移
  • 数据结构和算法可视化:首先实现该数据结构和算法,然后测试,测试成功之后进行可视化。具体的数据结构和算法的实现和介绍请见这里

存在问题

  • body-pix 的效果不是很理想。
  • style-transfer 过程太慢。

未来工作

  • 优化人像分割的效果。
  • 用 tensorflow.js 实现风格迁移。
  • 更多的数据结构和算法可视化。
  • 更多的艺术品介绍。
  • 开发网页平台。

painters-and-hackers's People

Contributors

aihxym avatar pearmini avatar

Stargazers

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

Watchers

 avatar

painters-and-hackers's Issues

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.