Font Recognition Neural Network Using Triplet Loss

Resolve Bottlenecks,
Find Innovative Solutions
Generate Solutions

Solution Overview

Problem

Existing font classification systems face challenges in accurately recognizing digital fonts, particularly due to intra-class variances within glyph content, especially with languages like Japanese that have a large number of glyphs, leading to inaccurate results and high memory and computational requirements, making them unsuitable for mobile devices.

Innovation Solution

The use of a deep learning technique trained with a triplet loss model to recognize digital fonts by generating font triplets from a training set, minimizing distance between feature vectors for positive pairs and maximizing distance for negative pairs, which improves font classification performance and reduces side effects from glyph content variances.

Engineering Contradictions & Design Principles

VSEngineering Contradiction Analysis

1Measurement precision

If recent font classification systems use machine-learning algorithms to recognize fonts, then font recognition capability is improved, but memory and computational requirements increase significantly

Engineering Contradiction:
Improvefont recognition accuracyVSAvoidmemory and computational resources
Core Design Contradiction:
Measurement precisionVSQuantity of substance

Solution Approach 1:

The patent transforms the font recognition problem by changing the parameter representation from raw pixel data to extracted font features (such as stroke patterns, character structures, and typographic characteristics). This parameter transformation reduces the dimensionality and complexity of input data, enabling machine-learning algorithms to achieve accurate font recognition with significantly reduced memory and computational resources.

Inventive Principle:
Principle #35Parameter changes

2Adaptability or versatility

If font classification systems handle languages with large numbers of glyphs (e.g., Japanese), then language coverage is improved, but intra-class variances increase and accuracy decreases

Engineering Contradiction:
Improvelanguage and glyph coverageVSAvoidfont recognition accuracy
Core Design Contradiction:
Adaptability or versatilityVSMeasurement precision

Solution Approach 1:

The patent extracts and removes the harmful factor of intra-class variance by separating font-specific features from glyph-content-specific features. By extracting only the font characteristics (such as stroke width, curvature, spacing patterns) and excluding variable glyph content from the classification process, the system achieves accurate font recognition across languages with large glyph sets, including Japanese with over 50,000 glyphs.

Inventive Principle:
Principle #2Taking out (Extraction)

3Adaptability or versatility

If recent font classification systems are trained with comprehensive datasets, then recognition coverage is improved, but training time and computational stability worsen

Engineering Contradiction:
Improvefont dataset coverageVSAvoidtraining time
Core Design Contradiction:
Adaptability or versatilityVSLoss of time

Solution Approach 1:

The patent extracts only the essential font features from training data, removing unnecessary glyph-specific variations. This feature extraction approach allows the system to train on comprehensive font datasets with diverse language coverage while significantly reducing training time and improving computational stability, as the neural network learns from condensed, discriminative features rather than raw pixel data.

Inventive Principle:
Principle #2Taking out (Extraction)

Data Source

PatentUS10515295B2Font recognition using triplet loss neural network training
Publication Date: 2019.12.24 ADOBE INC
  • US10515295B2 patent drawing
  • US10515295B2 patent drawing
  • US10515295B2 patent drawing

AI summary

The present disclosure relates to a font recognition system that employs a multi-task learning framework to jointly improve font classification and remove negative side effects caused by intra-class variances of glyph content. For example, in one or more embodiments, the font recognition system can jointly train a font recognition neural network using a font classification loss model and triplet loss model to generate a deep learning neural network that provides improved font classifications. In addition, the font recognition system can employ the trained font recognition neural network to efficiently recognize fonts within input images as well as provide other suggested fonts.