Automated Meme Generation via Face Key Point Affine Transformation

Resolve Bottlenecks,
Find Innovative Solutions
Generate Solutions

Solution Overview

Problem

Current methods for generating memes are labor-intensive and require professional image processing, making it difficult to create personalized memes efficiently and effectively, especially when transferring expressions from one image to another.

Innovation Solution

A meme generation method that determines affine transformation parameters between face key points in a target image and expression images within a meme, allowing for the transformation of the target image to create new expression images, which are then combined to form a second meme, using an image determination module and transformation unit, potentially optimized with generative adversarial networks for natural and complete results.

Engineering Contradictions & Design Principles

VSEngineering Contradiction Analysis

1Adaptability or versatility

If manual image processing methods are used to transfer expressions between images, then customization and personalization of memes can be achieved, but the process becomes labor-intensive and time-consuming

Engineering Contradiction:
Improvepersonalization capabilityVSAvoidmeme generation efficiency
Core Design Contradiction:
Adaptability or versatilityVSProductivity

Solution Approach 1:

The patent replaces manual mechanical image processing operations with an automated computer vision system. The system uses key point detection, affine transformation calculation, and automated image warping to substitute the manual mechanics of cutting, pasting, and transforming images, thereby maintaining personalization while dramatically improving productivity

Inventive Principle:
Principle #28Mechanics substitution (Replace mechanical system)

Solution Approach 2:

The system enables self-service meme generation by automatically performing all image processing tasks without human intervention. Once users select source and target images, the system autonomously detects face key points, calculates transformation parameters, applies affine transformations, and generates the final meme, eliminating the need for manual image manipulation while preserving customization options

Inventive Principle:
Principle #25Self-service

2Manufacturing precision

If professional image processing tools and skills are required to create memes, then high-quality expression transfer can be achieved, but the threshold for creation increases and accessibility decreases

Engineering Contradiction:
Improveexpression transfer qualityVSAvoidcreation accessibility
Core Design Contradiction:
Manufacturing precisionVSEase of manufacture

Solution Approach 1:

The patent replaces professional image processing skills with an automated computer vision pipeline. The system handles key point detection, affine transformation calculation, and image warping automatically, substituting the need for manual expertise in these mechanical operations while maintaining high expression transfer quality through algorithmic precision

Inventive Principle:
Principle #28Mechanics substitution (Replace mechanical system)

Solution Approach 2:

The system creates accurate copies of facial expressions by detecting key point correspondences between source and target images. By copying the geometric relationships and transformation parameters from reference images, the system achieves high-fidelity expression transfer without requiring users to possess professional manipulation skills, thus improving accessibility while preserving quality

Inventive Principle:
Principle #26Copying

3Productivity

If automated key point detection and affine transformation are used to transfer expressions, then productivity and accessibility are improved, but the naturalness and completeness of the transformed images may be compromised

Engineering Contradiction:
Improveautomated processing efficiencyVSAvoidimage naturalness
Core Design Contradiction:
ProductivityVSReliability

Solution Approach 1:

The patent incorporates feedback mechanisms where the system detects key points in transformed images and uses this information to refine subsequent transformations. The key point detection acts as a feedback loop that continuously monitors and adjusts the affine transformation parameters to maintain naturalness, ensuring that automated processing does not compromise image quality

Inventive Principle:
Principle #23Feedback

Solution Approach 2:

The system dynamically adjusts transformation parameters based on detected key point correspondences. By changing affine transformation parameters adaptively rather than applying fixed transformations, the system maintains image naturalness while achieving high productivity through automation. The parameter changes are driven by real-time key point analysis, ensuring reliability is preserved despite automated processing

Inventive Principle:
Principle #35Parameter changes

Data Source

PatentUS11875601B2Meme generation method, electronic device and storage medium
Publication Date: 2024.01.16 BEIJING BAIDU NETCOM SCI & TECH CO LTD
  • US11875601B2 patent drawing
  • US11875601B2 patent drawing
  • US11875601B2 patent drawing

AI summary

A meme generation method, an electronic device, and a storage medium are provided. The method includes: determining a plurality of second expression images corresponding to a target face image based on a plurality of first expression images contained in a first meme; generating a second meme corresponding to the target face image based on the plurality of second expression images corresponding to the target face image; wherein, determining an affine transformation parameter between the target face image and an i-th first expression image in the plurality of first expression images according to a corresponding relation between a face key point in the target face image and a face key point in the i-th first expression image; and transforming the target face image based on the affine transformation parameter to obtain an i-th second expression image corresponding to the target face image.