Depixelizing Pixel Art using Deep Neural Networks



A pretty naive approach that upscales and depixelizes a very low-res pixel art using deep Neural Network.

The main idea is given the 2D coordinate inputs, get the relative pixel color as the output. To avoid the color interpolation and blurry results, store the original color pallete and transpose it using the concept of one-hot encodation.

Data exploration


Read a very low-res pixel art image (preferably 8bits to avoid a very large color pallete).

Data preparation


Deep Neural Network


The archtecture of the NeuralNet is inspired by the concept of a decoder of an autoencoder. The output is an one-hot encoding of the color pallete, which is activated by a softmax function.

Learning process visualization