Pix2pix Neural Network to Work in Real Time

Pix2pix is neural network that creates photos based on the user's sketch
16 August 2018   2588

Developer Zaid Alyafeai of the University of Oil and Fossils named by King Fahd created a browser version of the pix2pix system - it turns the user's sketches into photographs in real time. While the service can only redraw the cats, the facades of buildings and shoes. 

The TensorFlow.js library loads a neural network model on the user's computer - this allows to conduct calculations on the user's device. While drawing shoes or cats, the user draws a detail of the image, and the system turns it into a "photo" in real time.

pix2pix
pix2pix
pix2pix
pix2pix
 

When drawing the houses, the algorithm splits the image into areas with objects of different types. For example, a roof or window will have different colors.

pix2pix
pix2pix

Specialists from the University of California at Berkeley introduced the pix2pix algorithm based on a generative-competitive network in 2016. Initially, the authors created a system that needed to be deployed on a computer. Third-party specialists could transfer it to the browser, but the algorithm took as input only a complete sketch and worked on the server, so the service was shut down. The source code is available at GitHub.

Frontend News Digest 14 - 20.09

20 September 2019   197

Greetings! I hope your week went great! Here's new Frontend news digest.

In this digest, beginners can learn about CSS Grid, skilled coders may learn about, for example, what's new in Chrome 77 for developers, difference between axion and fetch() API and many other stuff.

Guides

Good overview on grips with Grid.

  • How to Easily Reuse Components Across Projects and Repositories

A tutorial on building, collaborating and distributing over components to create different projects.

  • Preview your Vue or React components using JSDoc

Guide on creating and publishing your Vue app documents

Article

It’ll only be a couple of years before we reach Chrome 100 and it seems Firefox wants a piece of the action :-) Firefox’s release cadence will be moving from approx 6-8 weeks per version to just 4 from Firefox 71 onward.

Chrome 77 is rolling out to users now. Here, Pete LePage dives in to what’s new for developers in this latest version.

  • Javascript Overcomes Java as The Most Popular Programming Language of 2019

Well, cool news for all frontenders, is suppose =)

  • CSV & Excel to JSON in JavaScript

Ajax & Fetch can help you with that, learn how exactly.

  • Source-maps could be revealing your private project files

Article on a possible vulnerability, beware!

  • Axios or fetch(): Which should you use?

Article, which is written to give you the better understanding of both APIs.