Make your master artistic punk avatar through machine learning world famous paintings

Overview

Master-art-punk

Make your master artistic punk avatar through machine learning world famous paintings.
通过机器学习世界名画制作属于你的大师级艺术朋克头像
Nowadays, NFT is becoming popular in the world, and various trading platforms like opensea have developed rapidly, and cryptopunks have even sold tens of millions of dollars.
如今,NFT在世界上正流行起来,各种交易平台像opensea等,快速发展了起来,像cryptopunks甚至卖出了上千万美金。
This project will help you to know in general how these NFT pictures are made, and try to make your own NFT.

punk1 punk2

这个项目将有助于你大体知道这些NFT的图片是如何制作的,并尝试制作自己的NFT。
This project uses the K-Means algorithm to acquire and learn the color matching of world famous paintings in the data set, and imitate its color style to color the model.
本项目运用了K-Means算法对数据集中世界名画的色彩搭配进行获取和学习,并模仿其色彩风格给模型上色,展示如下:

NFT1 NFT1

使用说明:

1.安装要求:

1.更改settings.py的第8行,填入你自己的图片训练集路径,例如,打开./data/monet看到图片类似。(类似方法制作数据集,默认png格式)

2.安装numpy和pypng:pip install numpy / pip install pypng

2.训练:

1.python model.py / 运行 model.py (等待时间跟图片数目有关)

2.运行后,可发现colordistance.csv更新(需修改名字在setting.py的color_distance_filepath修改)

3.接着打开app.py 第12行选择模组类型(内置模型可在imageData下的stickers.py,subject.py中查看),第10行设置生成数量,第68行设置输出文件路径。

4.app.py

5.output对应文件夹下中有已生成的朋克头像。(最好选择一个作家的风格,例如,我选择了莫奈)

You might also like...
An esoteric visual language that takes image files as input based on a multi-tape turing machine, designed for compatibility with C.
An esoteric visual language that takes image files as input based on a multi-tape turing machine, designed for compatibility with C.

vizh An esoteric visual language that takes image files as input based on a multi-tape turing machine, designed for compatibility with C. Overview Her

Easily turn large sets of image urls to an image dataset. Can download, resize and package 100M urls in 20h on one machine.
Easily turn large sets of image urls to an image dataset. Can download, resize and package 100M urls in 20h on one machine.

img2dataset Easily turn large sets of image urls to an image dataset. Can download, resize and package 100M urls in 20h on one machine. Also supports

OctoPrint is the snappy web interface for your 3D printer!
OctoPrint is the snappy web interface for your 3D printer!

OctoPrint OctoPrint provides a snappy web interface for controlling consumer 3D printers. It is Free Software and released under the GNU Affero Genera

A Icon Maker GUI Made - Convert your image into icon ( .ico format ).
A Icon Maker GUI Made - Convert your image into icon ( .ico format ).

Icon-Maker-GUI A Icon Maker GUI Made Using Python 3.9.0 . It will take any image and convert it to ICO file, for web site favicon or Windows applicati

This Github Action automatically creates a GIF from a given web page to display on your project README
This Github Action automatically creates a GIF from a given web page to display on your project README

This Github Action automatically creates a GIF from a given web page to display on your project README

Gallery written in Python to manage your photos
Gallery written in Python to manage your photos

GalleryMan Gallery written in Python to manage your photos Installation

This Web App lets you convert your Normal Image to a SKETCHED one within a minute
This Web App lets you convert your Normal Image to a SKETCHED one within a minute

This Web App lets you convert your Normal Image to a SKETCHED one within a minute

Python pygame project that turns your images to matrix rain
Python pygame project that turns your images to matrix rain

Matrix-Rain-An-Image This project implements the classic Matrix digital rain effect in python with pygame to build up an image provided with multiple

A python based library to help you create unique generative images based on Rarity for your next NFT Project
A python based library to help you create unique generative images based on Rarity for your next NFT Project

Generative-NFT Generate Unique Images based on Rarity A python based library to help you create unique generative images based on Rarity for your next

Owner
蒋虎成
蒋虎成
Convert photos to paintings with python

Convert-photos-to-paintings Before the changes After the changes Before the changes After the changes This code is written in the Python programming l

Amir Hussein Sharifnezhad 3 May 31, 2022
Python avatar generator for absolute nerds

pagan Welcome to the Python Avatar Generator for Absolute Nerds. Current version: 0.4.3 View the change history here. Remember those good old days whe

David Bothe 280 Dec 16, 2022
A Robust Avatar Generator with a huge number of templates

CoolAvatars Welcome to this repository of CoolAvatars. Using this project, you can generate cool avatars not only from the samples present in my image

RAVI PRAKASH 5 Oct 12, 2021
Avatar Generator Python

This is a simple avatar generator project which uses your webcam to take pictures and saves five different types of your images into your device including the original image.

Faisal Ahmed 3 Jan 23, 2022
Draw a torus passing through three given points.

PyTorusThreePoints Draw a torus passing through three given points. Usage import numpy as np import pyvista as pv from torus_three_points.main import

null 2 Nov 19, 2021
Graphical tool to make photo collage posters

PhotoCollage Graphical tool to make photo collage posters PhotoCollage allows you to create photo collage posters. It assembles the input photographs

Adrien Vergé 350 Jan 2, 2023
Make GIFs from time-stacked xarray.DataArrays (time, [optional band], y, x), dead-simple.

GeoGIF Make GIFs from time-stacked xarray.DataArrays (time, [optional band], y, x), dead-simple. from geogif import gif, dgif gif(data_array) dgif(das

Gabe Joseph 47 Dec 22, 2022
Image Processing - Make noise images clean

影像處理-影像降躁化(去躁化) (Image Processing - Make Noise Images Clean) 得力於電腦效能的大幅提升以及GPU的平行運算架構,讓我們能夠更快速且有效地訓練AI,並將AI技術應用於不同領域。本篇將帶給大家的是 「將深度學習應用於影像處理中的影像降躁化 」,

null 2 Aug 4, 2022
An add to make adding screenshots and copied images to the scene easy

Blender Clipboard to Scene It doesn't work with version 2.93 and higher (I tested it on 2.91 and 2.83) There is an issue with importing the Pillow mod

Mohammad Mehdi Afkhami 3 Dec 29, 2021