search
HomeTechnology peripheralsAIOPPO 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

OPPO proposes GlyphDraw: one-click generation of images with Chinese characters, diffusion model to output emoticons

  • 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:

OPPO proposes GlyphDraw: one-click generation of images with Chinese characters, diffusion model to output emoticons

Making billboards:

OPPO proposes GlyphDraw: one-click generation of images with Chinese characters, diffusion model to output emoticons

Add a brief text description to the picture, and you can also diversify the text style

OPPO proposes GlyphDraw: one-click generation of images with Chinese characters, diffusion model to output emoticons

Another interesting and practical example is to generate emoticons:

OPPO proposes GlyphDraw: one-click generation of images with Chinese characters, diffusion model to output 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

OPPO proposes GlyphDraw: one-click generation of images with Chinese characters, diffusion model to output emoticons

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

OPPO proposes GlyphDraw: one-click generation of images with Chinese characters, diffusion model to output emoticons

The overall training goal of stable diffusion can be expressed as the following formula :

OPPO proposes GlyphDraw: one-click generation of images with Chinese characters, diffusion model to output emoticons

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

OPPO proposes GlyphDraw: one-click generation of images with Chinese characters, diffusion model to output emoticons

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

OPPO proposes GlyphDraw: one-click generation of images with Chinese characters, diffusion model to output emoticons

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

OPPO proposes GlyphDraw: one-click generation of images with Chinese characters, diffusion model to output emoticons

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

OPPO proposes GlyphDraw: one-click generation of images with Chinese characters, diffusion model to output emoticons

#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

OPPO proposes GlyphDraw: one-click generation of images with Chinese characters, diffusion model to output emoticons

OPPO proposes GlyphDraw: one-click generation of images with Chinese characters, diffusion model to output emoticons

##Interested readers can read the original text of the paper for more research details.

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!

Statement
This article is reproduced at:机器之心. If there is any infringement, please contact admin@php.cn delete
Personal Hacking Will Be A Pretty Fierce BearPersonal Hacking Will Be A Pretty Fierce BearMay 11, 2025 am 11:09 AM

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

Pope Leo XIV Reveals How AI Influenced His Name ChoicePope Leo XIV Reveals How AI Influenced His Name ChoiceMay 11, 2025 am 11:07 AM

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

FastAPI-MCP Tutorial for Beginners and Experts - Analytics VidhyaFastAPI-MCP Tutorial for Beginners and Experts - Analytics VidhyaMay 11, 2025 am 10:56 AM

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

Dia-1.6B TTS : Best Text-to-Dialogue Generation Model - Analytics VidhyaDia-1.6B TTS : Best Text-to-Dialogue Generation Model - Analytics VidhyaMay 11, 2025 am 10:27 AM

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

3 Ways AI Can Make Mentorship More Meaningful Than Ever3 Ways AI Can Make Mentorship More Meaningful Than EverMay 10, 2025 am 11:17 AM

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 Unearths New Potential In The Mining IndustryAI Unearths New Potential In The Mining IndustryMay 10, 2025 am 11:16 AM

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

Why AI Agents Will Trigger The Biggest Workplace Revolution In 25 YearsWhy AI Agents Will Trigger The Biggest Workplace Revolution In 25 YearsMay 10, 2025 am 11:15 AM

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

AI HR Is Going To Rock Our Worlds As AI Adoption SoarsAI HR Is Going To Rock Our Worlds As AI Adoption SoarsMay 10, 2025 am 11:14 AM

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

See all articles

Hot AI Tools

Undresser.AI Undress

Undresser.AI Undress

AI-powered app for creating realistic nude photos

AI Clothes Remover

AI Clothes Remover

Online AI tool for removing clothes from photos.

Undress AI Tool

Undress AI Tool

Undress images for free

Clothoff.io

Clothoff.io

AI clothes remover

Video Face Swap

Video Face Swap

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

Hot Article

Hot Tools

SecLists

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

Dreamweaver Mac version

Visual web development tools

MinGW - Minimalist GNU for Windows

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

SublimeText3 English version

Recommended: Win version, supports code prompts!

WebStorm Mac version

WebStorm Mac version

Useful JavaScript development tools