May 9, 2020

Calligraphy + Art + AI

Creativity is often considered the ultimate moonshot for Artificial Intelligence. Generative Modeling and Natural Language Processing have been applied to create paintings, generate music, and write poems. There has been extensive research on linking text and image, such as image captioning, text-to-image generation, where the texts are largely the descriptions about the images and are either encoded as features or treated as labels. Inspired by Chinese calligraphy as a unique form of visual art where the character itself is an aesthetic painting, we develop a creative framework based on Conditional Generative Adversarial Networks and Contextual Neural Language Model to generate artworks that have intrinsic meaning and aesthetic value. We demonstrate the framework in a case study, where artworks are generated in real-time to improve the overall customer experience and engagement in a restaurant. (CN Patent 202010893325.2, 2022)

Our idea was inspired by paintings by Franz Kline, such as Painting Number 2 (1954) shown below, which I enjoy viewing a few times at MoMA.

Image Source

Media Coverage

A featured article about our paper by TechXplore (January 2021): A model that can create unique Chinese calligraphy art

Paper

“A Framework and Dataset for Abstract Art Generation via CalligraphyGAN”, with Jinggang Zhuo and Ling Fan, Workshop on Machine Learning for Creativity and Design at NeurIPS 2020, Vancouver, Canada. (arXiv link)

Dataset

We collected 138,499 images of Chinese calligraphy characters written by 19 calligraphers from the Internet, which cover 7328 different characters in total. You can access the dataset here.

Source Code

You can access the source code for this project here. We built our system based on many other open source projects - many thanks to those authors. We have also included the docker scripts and Streamlit demo code to make this project more accessible.

Here is a screencast of the Streamlit demo.

Team

This is a collaborative project with the Design AI Lab directed by Dr. Ling Fan at the College of Design and Innovation, Tongji University.

Master Student: Jinggang Zhuo