


OPPO proposes GlyphDraw: one-click generation of images with Chinese characters, diffusion model to output emoticons
In recent years, many surprising breakthroughs have been made in the field of text-generated images, and many models are capable of creating high-quality and diverse images based on text instructions. Although the generated images are already very realistic, current models are usually good at generating physical images such as landscapes and objects, but have difficulty generating images with highly coherent details, such as images with complex glyph text such as Chinese characters
In order to solve For this problem, researchers from OPPO and other institutions have proposed a universal learning framework called GlyphDraw. The goal of this framework is to enable models to generate images embedded with coherent text. This work is the first in the field of image synthesis to solve the problem of Chinese character generation
Please click the following link to view the paper: https://arxiv. org/abs/2303.17870
Project home page link: https://1073521013.github.io/glyph-draw.github.io/
Let’s take a look at the generation effect first, such as generating warning slogans for the exhibition hall:
Making billboards:
Add a brief text description to the picture, and you can also diversify the text style
Another interesting and practical example is to generate emoticons:
Although there are some flaws in the results, overall the results generated by this study have been excellent. The main contributions of this research include:
This research proposes a Chinese character image generation framework called GlyphDraw. During the entire generation process, using auxiliary information such as Chinese character glyphs and positions, this framework can provide fine-grained guidance, so that the generated Chinese character images can be seamlessly embedded into the image with high quality
This study proposes an effective training strategy that successfully maintains the model's performance in open domain generation by limiting the number of trainable parameters in the pre-trained model to prevent overfitting and catastrophic forgetting. Strong performance and the ability to accurately generate Chinese character images
This study details the process of building a training dataset and proposes a new baseline method to evaluate Chinese character image generation the quality of. Among them, the generation accuracy of GlyphDraw reaches 75%, which is significantly better than the previous image synthesis method
Model introduction:
First, this study designed a complex image-text data set construction strategy. Then, using the open source image synthesis algorithm Stable Diffusion, a general learning framework GlyphDraw is proposed, as shown in Figure 2
The overall training goal of stable diffusion can be expressed as the following formula :
GlyphDraw is based on the cross-attention mechanism in Stable Diffusion. It cascades the latent vector z_t of the original input with the latent vector z_t of the image, the text mask l_m and the glyph image l_g
In addition, by using domain-specific fusion Module,Condition C is equipped with mixed glyph and text features. The introduction of text mask and glyph information enables the entire training process to achieve fine-grained diffusion control, which is a key component to improve model performance and can ultimately generate images with Chinese character text
Specifically, text The pixel representation of information, especially in complex text forms, such as pictographic Chinese characters, is significantly different from natural objects. For example, the Chinese word "sky" is composed of multiple strokes in a two-dimensional structure, and the corresponding natural image is "blue sky dotted with white clouds." In contrast, Chinese characters have very fine-grained characteristics, and even small movements or deformations can cause the text to render incorrectly, making image generation impossible
Embedding characters into natural image backgrounds also requires consideration of a key issue, which is to accurately control the generation of text pixels without affecting adjacent natural image pixels. In order to display perfect Chinese characters on natural images, the author designed two key components, namely position control and glyph control, which were integrated into the diffusion synthesis model
Different from the global conditional input of other models, the character Generation requires more attention to specific local areas of the image because the underlying feature distribution of character pixels is very different from that of natural image pixels. In order to prevent model learning from collapsing, this study innovatively proposes fine-grained position area control to decouple the distribution between different areas
Rewritten content: In addition to position control, another important issue is Get fine control over Chinese character stroke synthesis. Considering the complexity and diversity of Chinese characters, it is very difficult to just learn from a large image-text dataset without any explicit prior knowledge. In order to accurately generate Chinese characters, this study introduces explicit glyph images as additional conditional information into the diffusion process of the model
In order to keep the original meaning unchanged, it is necessary to The content has been rewritten into Chinese. The following is the rewritten content: Research Design and Experimental Results
Since there is no previous dataset specifically for Chinese character image generation, this study first created a benchmark dataset ChineseDrawText for qualitative and quantitative evaluation. Subsequently, the researchers tested the generation accuracy of several methods on ChineseDrawText and evaluated it through the OCR recognition model
The GlyphDraw model proposed in this study fully utilizes the auxiliary Glyph and position information, achieving an excellent average accuracy of 75%, proving the model's excellent ability in character image generation. The following figure shows the visual comparison results of several methods
#In addition, GlyphDraw can also maintain open-domain image synthesis performance by limiting training parameters, in MS-COCO FID-10k The FID of general image synthesis only dropped by 2.3

The above is the detailed content of OPPO proposes GlyphDraw: one-click generation of images with Chinese characters, diffusion model to output emoticons. For more information, please follow other related articles on the PHP Chinese website!

Cyberattacks are evolving. Gone are the days of generic phishing emails. The future of cybercrime is hyper-personalized, leveraging readily available online data and AI to craft highly targeted attacks. Imagine a scammer who knows your job, your f

In his inaugural address to the College of Cardinals, Chicago-born Robert Francis Prevost, the newly elected Pope Leo XIV, discussed the influence of his namesake, Pope Leo XIII, whose papacy (1878-1903) coincided with the dawn of the automobile and

This tutorial demonstrates how to integrate your Large Language Model (LLM) with external tools using the Model Context Protocol (MCP) and FastAPI. We'll build a simple web application using FastAPI and convert it into an MCP server, enabling your L

Explore Dia-1.6B: A groundbreaking text-to-speech model developed by two undergraduates with zero funding! This 1.6 billion parameter model generates remarkably realistic speech, including nonverbal cues like laughter and sneezes. This article guide

I wholeheartedly agree. My success is inextricably linked to the guidance of my mentors. Their insights, particularly regarding business management, formed the bedrock of my beliefs and practices. This experience underscores my commitment to mentor

AI Enhanced Mining Equipment The mining operation environment is harsh and dangerous. Artificial intelligence systems help improve overall efficiency and security by removing humans from the most dangerous environments and enhancing human capabilities. Artificial intelligence is increasingly used to power autonomous trucks, drills and loaders used in mining operations. These AI-powered vehicles can operate accurately in hazardous environments, thereby increasing safety and productivity. Some companies have developed autonomous mining vehicles for large-scale mining operations. Equipment operating in challenging environments requires ongoing maintenance. However, maintenance can keep critical devices offline and consume resources. More precise maintenance means increased uptime for expensive and necessary equipment and significant cost savings. AI-driven

Marc Benioff, Salesforce CEO, predicts a monumental workplace revolution driven by AI agents, a transformation already underway within Salesforce and its client base. He envisions a shift from traditional markets to a vastly larger market focused on

The Rise of AI in HR: Navigating a Workforce with Robot Colleagues The integration of AI into human resources (HR) is no longer a futuristic concept; it's rapidly becoming the new reality. This shift impacts both HR professionals and employees, dem


Hot AI Tools

Undresser.AI Undress
AI-powered app for creating realistic nude photos

AI Clothes Remover
Online AI tool for removing clothes from photos.

Undress AI Tool
Undress images for free

Clothoff.io
AI clothes remover

Video Face Swap
Swap faces in any video effortlessly with our completely free AI face swap tool!

Hot Article

Hot Tools

SecLists
SecLists is the ultimate security tester's companion. It is a collection of various types of lists that are frequently used during security assessments, all in one place. SecLists helps make security testing more efficient and productive by conveniently providing all the lists a security tester might need. List types include usernames, passwords, URLs, fuzzing payloads, sensitive data patterns, web shells, and more. The tester can simply pull this repository onto a new test machine and he will have access to every type of list he needs.

Dreamweaver Mac version
Visual web development tools

MinGW - Minimalist GNU for Windows
This project is in the process of being migrated to osdn.net/projects/mingw, you can continue to follow us there. MinGW: A native Windows port of the GNU Compiler Collection (GCC), freely distributable import libraries and header files for building native Windows applications; includes extensions to the MSVC runtime to support C99 functionality. All MinGW software can run on 64-bit Windows platforms.

SublimeText3 English version
Recommended: Win version, supports code prompts!

WebStorm Mac version
Useful JavaScript development tools
